From e291fb6b41561c784019f79a66b0b99f7ea4d718 Mon Sep 17 00:00:00 2001 From: Max Fang Date: Thu, 9 Jun 2022 22:58:26 -0700 Subject: [PATCH] Fix lightning-background-processor release build --- lightning-background-processor/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lightning-background-processor/src/lib.rs b/lightning-background-processor/src/lib.rs index b2edc230..bd9fde88 100644 --- a/lightning-background-processor/src/lib.rs +++ b/lightning-background-processor/src/lib.rs @@ -79,7 +79,7 @@ const PING_TIMER: u64 = 1; /// Prune the network graph of stale entries hourly. const NETWORK_PRUNE_TIMER: u64 = 60 * 60; -#[cfg(all(not(test), debug_assertions))] +#[cfg(not(test))] const SCORER_PERSIST_TIMER: u64 = 30; #[cfg(test)] const SCORER_PERSIST_TIMER: u64 = 1; -- 2.30.2