Skip to content

Use a scope guard for decrementing queue length.#2865

Merged
jsdt merged 3 commits into
masterfrom
jsdt/queue-length-guard
Jun 13, 2025
Merged

Use a scope guard for decrementing queue length.#2865
jsdt merged 3 commits into
masterfrom
jsdt/queue-length-guard

Conversation

@jsdt

@jsdt jsdt commented Jun 13, 2025

Copy link
Copy Markdown
Contributor

Description of Changes

If a client disconnected while waiting to send a message to the job queue, we would not decrement the queue counter. Adding a scope guard should handle all cases.

Expected complexity level and risk

1

@jsdt jsdt added this pull request to the merge queue Jun 13, 2025
Merged via the queue into master with commit 228c761 Jun 13, 2025
19 checks passed
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.

2 participants