-
Notifications
You must be signed in to change notification settings - Fork 407
Remove channel monitor sync in progress log #2669
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
Remove channel monitor sync in progress log #2669
Conversation
Codecov ReportAll modified lines are covered by tests ✅
❗ Your organization needs to install the Codecov GitHub app to enable full functionality. Additional details and impacted files@@ Coverage Diff @@
## main #2669 +/- ##
==========================================
- Coverage 89.04% 89.02% -0.02%
==========================================
Files 112 112
Lines 87229 87525 +296
Branches 87229 87525 +296
==========================================
+ Hits 77674 77922 +248
- Misses 7319 7363 +44
- Partials 2236 2240 +4
☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If its super spammy we might consider removing it entirely instead, IMO.
This log is super spammy for us and isn't very useful.
cb235e9
to
439f916
Compare
removed log instead |
{ | ||
log_debug!(self.logger, "A Channel Monitor sync is still in progress, refusing to provide monitor events!"); | ||
} else { | ||
if !is_pending_monitor_update || monitor_state.last_chain_persist_height.load(Ordering::Acquire) + LATENCY_GRACE_PERIOD_BLOCKS as usize <= self.highest_chain_height.load(Ordering::Acquire) { | ||
if is_pending_monitor_update { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Given we have this if
depending on is_pending_monitor_update
following right away, it might be cleaner to maintain a top-level if ... else
here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Any way I try this ends up being more messy.
This log is super spammy for us and isn't very useful