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
import gdtest_complete_docstrings as pool
pool.timeout = 60 # generous timeout for batch jobs