Make scorer decay + persistence more frequent
[rust-lightning] / lightning-background-processor / src / lib.rs
index 1d5899682b3f491e8fa00d174554c77e16745dc0..a12ec9c0f3b8b85a868e9f2e3fa05f0abc460b3d 100644 (file)
@@ -113,7 +113,7 @@ const ONION_MESSAGE_HANDLER_TIMER: u64 = 1;
 const NETWORK_PRUNE_TIMER: u64 = 60 * 60;
 
 #[cfg(not(test))]
-const SCORER_PERSIST_TIMER: u64 = 60 * 60;
+const SCORER_PERSIST_TIMER: u64 = 60 * 5;
 #[cfg(test)]
 const SCORER_PERSIST_TIMER: u64 = 1;