File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -205,7 +205,7 @@ client.with_options(max_retries=5).hris.directory.list_individuals()
205205
206206### Timeouts
207207
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,
209209which accepts a float or an [ ` httpx.Timeout ` ] ( https://www.python-httpx.org/advanced/#fine-tuning-the-configuration ) :
210210
211211``` python
Original file line number Diff line number Diff line change 8282_AsyncStreamT = TypeVar ("_AsyncStreamT" , bound = AsyncStream [Any ])
8383
8484
85+ # default timeout is 1 minute
8586DEFAULT_TIMEOUT = Timeout (timeout = 60.0 , connect = 5.0 )
8687DEFAULT_MAX_RETRIES = 2
8788DEFAULT_LIMITS = Limits (max_connections = 100 , max_keepalive_connections = 20 )
You can’t perform that action at this time.
0 commit comments