Skip to content

Structure

PostgresClient.Configuration.Options.KeepAliveBehavior

A keep-alive behavior for Postgres connections. The frequency defines after which time an idle connection shall run a keep-alive query.
struct KeepAliveBehavior

Topics

Initializers

Instance Properties

  • frequency
    The amount of time that shall pass before an idle connection runs a keep-alive query.
  • query
    The query that is run on an idle connection after it has been idle for frequency.

Relationships

Conforms To

  • Swift.Sendable
  • Swift.SendableMetatype