Skip to content

fix: make dispatcher queue size configurable and log dropped messages#29

Merged
Oaklight merged 2 commits into
masterfrom
worktree-fix+7-bound-queue
Apr 8, 2026
Merged

fix: make dispatcher queue size configurable and log dropped messages#29
Oaklight merged 2 commits into
masterfrom
worktree-fix+7-bound-queue

Conversation

@Oaklight
Copy link
Copy Markdown
Owner

@Oaklight Oaklight commented Apr 8, 2026

Summary

  • Add queue_maxsize parameter to WeiLink.__init__ (default 1000) for configurable queue depth
  • Log a warning with msg_id when a message is dropped due to queue overflow

Closes #7

Oaklight added 2 commits April 8, 2026 19:33
- Add `queue_maxsize` parameter to WeiLink.__init__ (default 1000)
- Log a warning with msg_id when a message is dropped due to queue overflow

Closes #7
@Oaklight Oaklight merged commit 3d24559 into master Apr 8, 2026
6 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.

Bound dispatcher message queue to prevent unbounded memory growth

1 participant