File tree 2 files changed +2
-1
lines changed
2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -205,7 +205,7 @@ client.with_options(max_retries=5).hris.directory.list_individuals()
205
205
206
206
### Timeouts
207
207
208
- Requests time out after 60 seconds by default. You can configure this with a ` timeout ` option,
208
+ Requests time out after 1 minute by default. You can configure this with a ` timeout ` option,
209
209
which accepts a float or an [ ` httpx.Timeout ` ] ( https://www.python-httpx.org/advanced/#fine-tuning-the-configuration ) :
210
210
211
211
``` python
Original file line number Diff line number Diff line change 82
82
_AsyncStreamT = TypeVar ("_AsyncStreamT" , bound = AsyncStream [Any ])
83
83
84
84
85
+ # default timeout is 1 minute
85
86
DEFAULT_TIMEOUT = Timeout (timeout = 60.0 , connect = 5.0 )
86
87
DEFAULT_MAX_RETRIES = 2
87
88
DEFAULT_LIMITS = Limits (max_connections = 100 , max_keepalive_connections = 20 )
You can’t perform that action at this time.
0 commit comments