Mirrowel commited on
Commit
0a45558
Β·
1 Parent(s): bb812a7

fix(timeout): πŸ› increase streaming read timeout to 5 minutes - 3 minute timeouts failed sometimes

Browse files
src/rotator_library/timeout_config.py CHANGED
@@ -28,7 +28,7 @@ class TimeoutConfig:
28
  _CONNECT = 30.0
29
  _WRITE = 30.0
30
  _POOL = 60.0
31
- _READ_STREAMING = 180.0 # 3 minutes between chunks
32
  _READ_NON_STREAMING = 600.0 # 10 minutes for full response
33
 
34
  @classmethod
 
28
  _CONNECT = 30.0
29
  _WRITE = 30.0
30
  _POOL = 60.0
31
+ _READ_STREAMING = 300.0 # 5 minutes between chunks
32
  _READ_NON_STREAMING = 600.0 # 10 minutes for full response
33
 
34
  @classmethod