Skip to content

Per-connection connect timeout #2525

Closed

Description

@datlechin

Problem

Query timeout is a global setting, but there is no connect timeout at all. On a high-latency link or a slow VPN the connect either takes far longer than it should or fails at whatever the driver's own default is, and neither is adjustable.

Proposed solution

  • A connect timeout field in the connection's Customization pane, falling back to a sensible default when empty.
  • Applied to the TCP dial, the TLS handshake and the auth exchange, not just the first of them.
  • Applied to the tunnel too, so a slow bastion times out with a message naming the bastion rather than the database.
  • A per-connection query timeout in the same place, overriding the global one.

Alternatives considered

Raise the global query timeout, which does not affect connect at all.

Related database type

N/A / General

Activity

  1. added
    enhancement
    on Aug 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions