Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add thread-safe message scheduling and related tests #1638

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

amimelia
Copy link

Introduce ScheduledMediumMessageQueue for thread-safe scheduling of messages. Updated Dispatcher to use the new queue and modified the scheduling logic for improved reliability. Added unit tests.

Fixes #1637

Introduce `ScheduledMediumMessageQueue` for thread-safe scheduling of messages. Updated `Dispatcher` to use the new queue and modified the scheduling logic for improved reliability. Added extensive unit tests to ensure correctness of message scheduling and publishing behavior under various scenarios.
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.

Thread-safety and cancellation handling issues in PublishDelayAsync with delay time < 1 minute
1 participant