Skip to content

Commit

Permalink
Trigger sub_channel_manager periodic check less often
Browse files Browse the repository at this point in the history
Most users don't even need the `sub_channel_manager` periodic check to
run. But some still do, because there are pending LN-DLC channels
being closed in production.

So we still have to run this periodic check, but it's generally less
critical. It included a regular `channel_manager` periodic check to
make it more convenient for consumers to only have to run the
`sub_channel_manager` periodic check.

We now remove it because in 10101 we now want to execute the
`channel_manager` periodic check independently. It is therefore not
needed here. We remove it to avoid any unforeseen problems.
  • Loading branch information
luckysori committed Mar 14, 2024
1 parent 231d3f1 commit c9ba672
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions dlc-manager/src/sub_channel_manager.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2919,13 +2919,6 @@ where
}
}

if let Err(e) = self.dlc_channel_manager.periodic_check() {
error!(
"Error performing periodic check of the channel manager: {}",
e
);
}

msgs
}

Expand Down

0 comments on commit c9ba672

Please sign in to comment.