Skip to content

Commit 316f01a

Browse files
committed
Avoid persisting a ChannelManager update after each timer tick
Currently, when a user calls `ChannelManager::timer_tick_occurred` we always set the persister's update flag to true. This results in a ChannelManager persistence after each timer tick, even when nothing happened. Instead, we add a new flag to `PersistenceNotifierGuard` to indicate if we should skip setting the update flag.
1 parent 1dd9a4d commit 316f01a

File tree

1 file changed

+103
-74
lines changed

1 file changed

+103
-74
lines changed

0 commit comments

Comments
 (0)