We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 30a9cb7 + bdb9a55 commit 4d3a5b0Copy full SHA for 4d3a5b0
src/main.rs
@@ -759,6 +759,7 @@ async fn start_ldk() {
759
let stop_connect = Arc::clone(&stop_listen_connect);
760
tokio::spawn(async move {
761
let mut interval = tokio::time::interval(Duration::from_secs(1));
762
+ interval.set_missed_tick_behavior(tokio::time::MissedTickBehavior::Delay);
763
loop {
764
interval.tick().await;
765
match disk::read_channel_peer_data(Path::new(&peer_data_path)) {
0 commit comments