Uh oh!
There was an error while loading. Please reload this page.
[LSPS5] Change notification cooldown time to 1 minute, also update docs - #3994
Conversation
👋 Thanks for assigning @tnull as a reviewer! |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@## main #3994 +/- ##
==========================================
+ Coverage 88.74% 88.91% +0.17%
==========================================
Files 173 174 +1 Lines 124899 125114 +215 Branches 124899 125114 +215 ==========================================
+ Hits 110841 111249 +408 + Misses 11631 11354 -277 - Partials 2427 2511 +84
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
ecf258c to
43eeb48Comparemartinsaposnic
commented
Aug 7, 2025
rebase done! |
Uh oh!
There was an error while loading. Please reload this page.
43eeb48 to
24712cfCompareldk-reviews-bot
commented
Aug 8, 2025
👋 The first review has been submitted! Do you think this PR is ready for a second reviewer? If so, click here to assign a second reviewer. |
24712cf to
d638113Compare
lightning/blips#64 spec update PR |
tnull
left a comment
There was a problem hiding this comment.
Thanks! Changes look good to me, but please fixup the typos in the commit message, as mentioned above.
| .get(¬ification.method) | ||
| .map(|last_sent| now.duration_since(&last_sent)) | ||
| .map_or(false, |duration| duration < DEFAULT_NOTIFICATION_COOLDOWN_HOURS) | ||
| .map_or(false, |duration: Duration| duration < NOTIFICATION_COOLDOWN_TIME) |
There was a problem hiding this comment.
Why do we need this : Duration suddenly?
There was a problem hiding this comment.
FYI force-pushed this small change without a fixup https://github.com/lightningdevkit/rust-lightning/compare/d638113b68b2de0ec02dd5d2a7574f7854d5005c..8b326536eed3eaff61d4c261dd5f83d96620f76b
d638113 to
8b32653Compare8b32653 to
c7694f4Comparemartinsaposnic
commented
Aug 12, 2025
also fixed the commit message. sorry about the typos! |
tnull
left a comment
There was a problem hiding this comment.
Thanks, LGTM.
Simple enough, so landing this.
(the commit message could have still used some motiviation, etc ;P)
Uh oh!
There was an error while loading. Please reload this page.
LSPS5 follow ups. Addressing comments #3975 (review) and #3975 (comment)
changes: