File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
src/seclab_taskflow_agent Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change 5151MAX_API_RETRY = 5 # Maximum number of consecutive API error retries
5252TASK_RETRY_LIMIT = 3 # Maximum retry attempts for a failed task
5353TASK_RETRY_BACKOFF = 10 # Initial backoff in seconds between task retries
54- STREAM_IDLE_TIMEOUT = 1800 # Kill a streaming run if no events received for this long (seconds)
54+ # Application-level backstop: kill a streaming run if no events yielded for 30 min.
55+ # Complements the TCP-level httpx.Timeout(read=300s) in agent.py which catches
56+ # dead sockets; this catches subtler hangs where the connection stays open but
57+ # the server (or async generator) stops producing events.
58+ STREAM_IDLE_TIMEOUT = 1800
5559
5660
5761def _resolve_model_config (
You can’t perform that action at this time.
0 commit comments