Skip to content

DEFAULT_EVENT_VISIBILITY_TIMEOUT_SECONDS

const DEFAULT_EVENT_VISIBILITY_TIMEOUT_SECONDS: 60 = 60

Defined in: packages/server/src/events/consumer.ts:89

How long a delivered sub-batch stays invisible, when the app sets nothing — and how long the runner extends it by on each renewal (it renews at half this). Healthy long processing is covered by renewal, so this is the REDELIVERY DELAY of a sub-batch whose callback threw and the crash-recovery bound, not a budget: it wants to sit above a single callback’s worst case (too short redelivers a callback that is merely slower than one renewal interval), never above the whole batch’s.