Increase default analysis timeout to 30 minutes for long episodes

This commit is contained in:
n3wk
2026-08-25 02:09:09 +02:00
parent 03d1e6f740
commit 9e4cc71f49
+1 -1
View File
@@ -35,7 +35,7 @@ from export_txt import export_txt
# seconds between opencode calls - provider rate limits are real # seconds between opencode calls - provider rate limits are real
ANALYSIS_PAUSE = int(os.environ.get("DS_ANALYZE_PAUSE", "45")) ANALYSIS_PAUSE = int(os.environ.get("DS_ANALYZE_PAUSE", "45"))
# hard timeout for entire analysis (seconds) - opencode can hang # hard timeout for entire analysis (seconds) - opencode can hang
ANALYSIS_TIMEOUT = int(os.environ.get("DS_ANALYSIS_TIMEOUT", "600")) # 10 minutes ANALYSIS_TIMEOUT = int(os.environ.get("DS_ANALYZE_TIMEOUT", "1800")) # 30 minutes
# memory guard threshold (bytes) - pause if available RAM drops below this # memory guard threshold (bytes) - pause if available RAM drops below this
MIN_FREE_RAM = int(os.environ.get("DS_MIN_FREE_RAM", str(1024 * 1024 * 1024))) # 1 GB MIN_FREE_RAM = int(os.environ.get("DS_MIN_FREE_RAM", str(1024 * 1024 * 1024))) # 1 GB