Skip to content

Commit

Permalink
Increase PoT verifier cache size temporarily
Browse files Browse the repository at this point in the history
  • Loading branch information
nazar-pc committed Oct 14, 2023
1 parent 6bbfb33 commit 21a098f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/subspace-service/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ const_assert!(std::mem::size_of::<usize>() >= std::mem::size_of::<u64>());

/// This is over 15 minutes of slots assuming there are no forks, should be both sufficient and not
/// too large to handle
const POT_VERIFIER_CACHE_SIZE: NonZeroUsize = NonZeroUsize::new(10_000).expect("Not zero; qed");
const POT_VERIFIER_CACHE_SIZE: NonZeroUsize = NonZeroUsize::new(30_000).expect("Not zero; qed");
const SYNC_TARGET_UPDATE_INTERVAL: Duration = Duration::from_secs(1);

/// Error type for Subspace service.
Expand Down

0 comments on commit 21a098f

Please sign in to comment.