Class DeliveryBacklog
The backlog of the delivery outbox (pending rows, age of the oldest), read from the database at most
once per and shared by the health check and the metric gauges
identity.delivery.pending and identity.delivery.oldest_pending_age. Every node reads the
same table, so every node reports the same backlog, whichever of them runs the worker.
public sealed class DeliveryBacklog
Inheritance
Properties
Current
The last reading, or null before the first one. Starts a new reading in the background when stale.
public OutboxStats? Current { get; }
Methods
GetAsync(CancellationToken)
A reading no older than ; null when the table cannot be read.
public Task<OutboxStats?> GetAsync(CancellationToken ct)