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

Fix a few issues #48

Merged
merged 2 commits into from
Nov 30, 2024
Merged

Fix a few issues #48

merged 2 commits into from
Nov 30, 2024

Conversation

raphael
Copy link
Member

@raphael raphael commented Nov 28, 2024

  • Make sure that adding a dispatch return event to a node stream creates the stream if needed. This could cause jobs that are added right on startup to fail to be dispatched.
  • Fix potential panic in cleanup goroutine when the pending jobs map contains nil values
  • Make sure to close all maps when closing the node.
  • Properly log event information when discarding stale ack events.
  • More consistent logging

* Make sure that adding a dispatch return event to a node stream creates the stream if needed.
  This could cause jobs that are added right on startup to fail to be dispatched.
* Fix potential panic in cleanup goroutine when the pending jobs map contains nil values
* Make sure to close all maps when closing the node.
* Properly log event information when discarding stale ack events.
* More consistent logging
* Ensure stale node streams are gced
* Make close and shutdown code cleaner
* Cleanup all maps properly on node close
@raphael raphael merged commit 67b2457 into main Nov 30, 2024
4 checks passed
@raphael raphael deleted the fix/dispatch_event_stream_creation branch November 30, 2024 02:23
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.

1 participant