Repository navigation
perf(queue): keep customer replies ahead of receipts and scheduled sends - #1676
Merged
Merged
Conversation
viethung0o0
force-pushed
the
perf/integration-queue-latency
branch
from
November 9, 2026 13:17
cdc9bb6 to
9036a14
Compare
viethung0o0
marked this pull request as ready for review
November 9, 2026 16:19
hello-jackytruong
referenced
this pull request
in hello-jackytruong/ChatWorkAI
Nov 22, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
integrationqueue.lowqueue, so they no longer sit ahead of customer replies.Changes
low. A WhatsApp template status whose Delivered/Failed button leads to another node stays onintegration, tracked by a 24h Redis marker written once the message is saved.lowjobs (attachment and avatar mirroring, missed-comment replay) yield to receipts and echoes.contactLastReadAtonly moves forward, so out-of-order receipts can't move it back.integration/chat/lowqueue depth every minute.docs/scaling-messaging.md: queue design and tuning guide. Default concurrency is unchanged.Deploy note
lowjob types.Test plan
pnpm lintpnpm check-types(builder, worker, worker-config, business, flow-config, 5 channel integrations)integrationand runs its branch; read / failed / text delivered go tolow; Zalo echo goes tolow