consul.std module¶
- class consul.std.Consul(*args, connections_timeout=30, **kwargs)[source]¶
Bases:
Consulconnections_timeout is how long, in seconds, to wait for the agent to connect or answer before requests raises a timeout, so a connection the agent dropped silently does not block forever. For a blocking query, the query’s wait and its jitter are added to it. None disables the timeout.
- Parameters:
connections_timeout (float | None)