Increase default analysis timeout to 30 minutes for long episodes
This commit is contained in:
+1
-1
@@ -35,7 +35,7 @@ from export_txt import export_txt
|
||||
# seconds between opencode calls - provider rate limits are real
|
||||
ANALYSIS_PAUSE = int(os.environ.get("DS_ANALYZE_PAUSE", "45"))
|
||||
# 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
|
||||
MIN_FREE_RAM = int(os.environ.get("DS_MIN_FREE_RAM", str(1024 * 1024 * 1024))) # 1 GB
|
||||
|
||||
Reference in New Issue
Block a user