Exception: Pgbus::ConnectionCircuitOpenError

Inherits:
Error
  • Object
show all
Defined in:
lib/pgbus.rb

Overview

Raised by Client read paths when the in-memory connection-health circuit breaker (Client::ConnectionHealth) is open: the database has failed enough consecutive connection attempts that reads now fail fast without a pool checkout, sparing a dead database from the whole fleet re-polling and the error tracker from per-poll noise. Workers rescue this and idle until the breaker's backoff window admits a probe. See issue #197.