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: Always Update Metrics on Peer Inspection, Even When Logging is Skipped #1814

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

Conversation

MatusKysel
Copy link
Contributor

@MatusKysel MatusKysel commented Oct 24, 2024

This PR fixes an issue where both metrics updates and logging were skipped when not at the logging frequency. Metrics should always be updated on every peer inspection, but logging should occur based on logFrequency.

Changes:

•	Ensured metrics updates happen on every inspection.
•	Separated the logging logic so it only skips logging when needed, without affecting metrics updates.

@MatusKysel MatusKysel changed the title Align peer score metrics to main Fix: Always Update Metrics on Peer Inspection, Even When Logging is Skipped Oct 24, 2024
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