summaryrefslogtreecommitdiff
path: root/docs/src/guide/patch-notes
diff options
context:
space:
mode:
authorSho Sakuma <me@m1sk9.dev>2026-08-05 03:32:00 +0900
committerSho Sakuma <me@m1sk9.dev>2026-08-05 03:32:00 +0900
commit5a20137f7822e7aa3a37716da2e3a450bc6cea96 (patch)
treeeec0e5108fa280ff940111cab6985f6a22e57bd8 /docs/src/guide/patch-notes
parentc939f879f388f07f00e017f59685276aa7a9faef (diff)
downloadLunaticChat-5a20137f7822e7aa3a37716da2e3a450bc6cea96.tar.gz
LunaticChat-5a20137f7822e7aa3a37716da2e3a450bc6cea96.tar.bz2
LunaticChat-5a20137f7822e7aa3a37716da2e3a450bc6cea96.zip
refactor: bound the delivery queue and drop a departed player's backlog
An item takes up to the conversion timeout to drain, far slower than a player can send, so an unbounded queue grew for as long as a macro ran - each item holding its sender and recipient alive and arriving minutes after it was typed. Refusing the overflow is at least visible to the player. Releasing a player now cancels their worker instead of letting the backlog run. Finishing it would spend a round trip per item writing to somebody who has left, and keep both players reachable until it drained. Chosen over DROP_LATEST on the channel: that reports success to trySend and drops silently, which would make the warning about discarded work unreachable in the case it was written for. Co-Authored-By: Claude <noreply@anthropic.com>
Diffstat (limited to 'docs/src/guide/patch-notes')
0 files changed, 0 insertions, 0 deletions