Skip to content

Commit e15f6a3

Browse files
committed
Dedup terminating log
1 parent ff01967 commit e15f6a3

File tree

1 file changed

+1
-2
lines changed
  • lightning-background-processor/src

1 file changed

+1
-2
lines changed

lightning-background-processor/src/lib.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -761,7 +761,6 @@ where
761761
last_forwards_processing_call = sleeper(cur_batch_delay);
762762
}
763763
if should_break {
764-
log_trace!(logger, "Terminating background processor.");
765764
break;
766765
}
767766

@@ -819,7 +818,6 @@ where
819818
false
820819
};
821820
if should_break {
822-
log_trace!(logger, "Terminating background processor.");
823821
break;
824822
}
825823
if channel_manager.get_cm().get_and_clear_needs_persistence() {
@@ -1031,6 +1029,7 @@ where
10311029
last_sweeper_call = sleeper(SWEEPER_TIMER);
10321030
}
10331031
}
1032+
log_trace!(logger, "Terminating background processor.");
10341033

10351034
// After we exit, ensure we persist the ChannelManager one final time - this avoids
10361035
// some races where users quit while channel updates were in-flight, with

0 commit comments

Comments
 (0)