Increase zipgrep per-zip timeout

This commit is contained in:
rubenwardy
2025-07-05 22:07:58 +01:00
parent dedafe9c71
commit bc62c2b1be

View File

@@ -49,7 +49,7 @@ def search_in_releases(self, query: str, file_filter: str, types: List[str]):
handle = Popen(["zipgrep", query, release.file_path, file_filter], stdout=PIPE, encoding="UTF-8")
try:
handle.wait(timeout=15)
handle.wait(timeout=45)
except TimeoutExpired:
print(f"[Zipgrep] Timeout for {package.name}", file=sys.stderr)
handle.kill()