# timeout


Seconds to wait before abandoning a connection attempt.


`timeout: int = ``30`


Set this before calling any connection functions. Values below 1 are treated as "no timeout" (the attempt blocks indefinitely). The default of 30 seconds suits most interactive use; batch pipelines may want 120 or more.


## Examples

``` python
import gdtest_complete_docstrings as pool
pool.timeout = 60  # generous timeout for batch jobs
```


## See Also

[retry_delay](retry_delay.md#gdtest_complete_docstrings.retry_delay)  

[get_connection()](get_connection.md#gdtest_complete_docstrings.get_connection)
