Merge pull request #1541 from jkczyz/2022-06-nit-follow-ups
authorMatt Corallo <649246+TheBlueMatt@users.noreply.github.com>
Wed, 15 Jun 2022 09:52:35 +0000 (02:52 -0700)
committerGitHub <noreply@github.com>
Wed, 15 Jun 2022 09:52:35 +0000 (02:52 -0700)
1  2 
lightning-background-processor/src/lib.rs

index bd9fde888050ad78f86e9d6e8c8284cf751db6f2,341e53099460cd811675bb7c1984395d44cca512..10ae69e2fe1791b1edf428dfe47181e40633d800
@@@ -79,7 -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;
@@@ -202,7 -202,7 +202,7 @@@ impl BackgroundProcessor 
        ///
        /// # Rapid Gossip Sync
        ///
-       /// If rapid gossip sync is meant to run at startup, pass a [`RapidGossipSync`] to `gossip_sync`
+       /// If rapid gossip sync is meant to run at startup, pass [`RapidGossipSync`] via `gossip_sync`
        /// to indicate that the [`BackgroundProcessor`] should not prune the [`NetworkGraph`] instance
        /// until the [`RapidGossipSync`] instance completes its first sync.
        ///