Skip to content

Client Connection Parameters Doc Update #7097

Open
@dbist

Description

@dbist

Artem Ervits (dbist) commented:

Re: Client Connection Parameters

Issue Description

Add connect_timeout property, with information on defaults as well as an example to override for each application.

Suggested Resolution

default for connect_timeout is 15 seconds, at least in 19.2.4. To override for each application, use connect_timeout in the connection string. Here's a psycopg2 example conn = psycopg2.connect(host="localhost", port=port, database = "mydb", user="xxx", connect_timeout=10)

Jira Issue: DOC-490

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions