Expand description
Long-polling notifier for PostgreSQL provider.
The notifier thread listens for PostgreSQL NOTIFY events and manages timer heaps to wake dispatchers at the right time, reducing idle database polling.
Structs§
- Long
Poll Config - Configuration for long-polling behavior.
- Notifier
- The notifier thread that manages LISTEN/NOTIFY and timer heaps.
Enums§
- Notify
Action - Action determined by parsing a NOTIFY payload.
Functions§
- parse_
notify_ action - Parse a NOTIFY payload and determine what action to take.
- timers_
from_ refresh - Calculate timers to add from refresh result.