Skip to content

Fix #2 Ensure all watches removed after non-blocking alts read - #5

Merged
zalky merged 1 commit into
mainfrom
fix-2
Apr 6, 2023
Merged

zalky merged 1 commit into
mainfrom
fix-2

Conversation

@zalky

@zalky zalky commented Apr 6, 2023 •

Copy link
Copy Markdown
Owner

Fixes #2

Updates cues.queue/alts to remove all watches on a successful read. Failing to remove watches incurs a minor alts performance penalty in cases where tailers are repeatedly being created and destroyed. Does not affect behaviour of queues and tailers otherwise.

Fixes a minor alts performance penalty in cases where tailers are
repeatedly being created and destroyed. Does not affect behaviour of
queues and tailers otherwise.

@zalky zalky left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Resolved.

@zalky
zalky merged commit c98d781 into main Apr 6, 2023
@zalky
zalky deleted the fix-2 branch April 6, 2023 21:12
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.

Non-blocking alts does not remove all watches

1 participant