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

Optimize active_elections::notify_observers #4637

Merged
merged 2 commits into from
May 23, 2024

Conversation

pwojcikdev
Copy link
Contributor

This avoids a redundant database lookup in block_amount call and avoids it altogether in the common case where no websocket observers are configured.

@qwahzi qwahzi added this to the V27 milestone May 23, 2024
@pwojcikdev pwojcikdev merged commit 57a75c2 into nanocurrency:develop May 23, 2024
22 of 26 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.

3 participants