Skip to content

Conversation

@benthecarman
Copy link
Contributor

@benthecarman benthecarman commented Oct 18, 2023

This log is super spammy for us and isn't very useful

@codecov-commenter
Copy link

codecov-commenter commented Oct 18, 2023

Codecov Report

All modified lines are covered by tests ✅

Comparison is base (2c51080) 89.04% compared to head (439f916) 89.02%.
Report is 18 commits behind head on main.

❗ 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     
Files Coverage Δ
lightning/src/chain/chainmonitor.rs 89.20% <100.00%> (-0.05%) ⬇️

... and 21 files with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Collaborator

@TheBlueMatt TheBlueMatt left a 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.
@benthecarman
Copy link
Contributor Author

removed log instead

@benthecarman benthecarman changed the title Make channel monitor sync in progress a trace log Remove channel monitor sync in progress log Oct 18, 2023
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 {
Copy link
Contributor

@tnull tnull Oct 19, 2023

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?

Copy link
Contributor Author

@benthecarman benthecarman Oct 21, 2023

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.

@TheBlueMatt TheBlueMatt merged commit b6f3d0a into lightningdevkit:main Oct 30, 2023
@benthecarman benthecarman deleted the trace-sync-progress branch November 8, 2023 20:49
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.

5 participants