Skip to content

The waiter will drain the action queue on main thread wake - #35

Open
brentfatsoma wants to merge 1 commit into
masterfrom
ENG-549-waiter-queue-drain
Open

The waiter will drain the action queue on main thread wake#35
brentfatsoma wants to merge 1 commit into
masterfrom
ENG-549-waiter-queue-drain

Conversation

@brentfatsoma

@brentfatsoma brentfatsoma commented Feb 3, 2026

Copy link
Copy Markdown

Ticket: https://fatsoma.atlassian.net/browse/ENG-549

This is part of an ongoing investigation into delivery acknowledgement timeout errors that we are intermittently experiencing in production (particularly in the ticket service). This change modifies the waiter, so that when the main thread wakes up it drains the action queue of n messages, rather than processing a single ack/nack at a time. The reasoning is that the main thread might not be keeping up with the work pushed by consumer threads, leading to acks not being sent within the 2 hour window.

@brentfatsoma
brentfatsoma force-pushed the ENG-549-waiter-queue-drain branch from d2b03f6 to 969a96e Compare February 3, 2026 10:38
Ticket: https://fatsoma.atlassian.net/browse/ENG-549

This is part of an ongoing investigation into delivery acknowledgement timeout errors that we are intermittently experiencing in production (particularly in the ticket service). This change modifies the waiter, so that when the main thread wakes up it drains the action queue of n messages, rather than processing a single ack/nack at a time. The reasoning is that the main thread might not be keeping up with the work pushed by consumer threads, leading to acks not being sent within the 2 hour window.
@brentfatsoma
brentfatsoma force-pushed the ENG-549-waiter-queue-drain branch from 969a96e to 0952579 Compare February 3, 2026 11:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant