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

Subscription ids cache removed expire after specified time #1146

Merged
merged 1 commit into from Nov 4, 2019

Conversation

dankraw
Copy link
Contributor

@dankraw dankraw commented Oct 31, 2019

resolves #1145

Ids of removed subscriptions should be still available for some time after the subscriptions are removed, due to the way selective workload algorithm works (it decodes them and should not filter them out in order to clean the mess properly). I'm introducing cache for removed subscriptions that is cleared after some specified time of inactivity (should be bigger than configured intervals for workload/max-rate computations).

Copy link
Contributor

@cristaloleg cristaloleg left a comment

Choose a reason for hiding this comment

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

👍

@dankraw dankraw merged commit 41450ed into master Nov 4, 2019
@cristaloleg cristaloleg deleted the subscriptions-id-cache-removed-expire-after branch November 27, 2019 12:39
pwolaq pushed a commit to pwolaq/hermes that referenced this pull request Oct 15, 2020
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.

Removing subscription may not stop consumer process
3 participants