projects
/
rust-lightning
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
22dc964
)
Fix lightning-background-processor release build
author
Max Fang
<protonmail.com@maxfa.ng>
Fri, 10 Jun 2022 05:58:26 +0000
(22:58 -0700)
committer
Max Fang
<protonmail.com@maxfa.ng>
Fri, 10 Jun 2022 05:58:26 +0000
(22:58 -0700)
lightning-background-processor/src/lib.rs
patch
|
blob
|
history
diff --git
a/lightning-background-processor/src/lib.rs
b/lightning-background-processor/src/lib.rs
index b2edc2301efda2b39224cf557b82b313ef46890f..bd9fde888050ad78f86e9d6e8c8284cf751db6f2 100644
(file)
--- 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;