Skip to content

Commit

Permalink
Increase STAKE_POOL_PRUNE_EPOCH_THRESHOLD to 10
Browse files Browse the repository at this point in the history
In order to have some breath if something goes wrong while pruning
enough data to keep that table lean.
  • Loading branch information
Alenar committed Jul 21, 2023
1 parent 5eebe07 commit 93ed08b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mithril-aggregator/src/database/provider/stake_pool.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ use mithril_common::StdError;
use tokio::sync::Mutex;

/// Delete stake pools for Epoch older than this.
const STAKE_POOL_PRUNE_EPOCH_THRESHOLD: Epoch = Epoch(2);
const STAKE_POOL_PRUNE_EPOCH_THRESHOLD: Epoch = Epoch(10);

/// Stake pool as read from Chain.
#[derive(Debug, PartialEq)]
Expand Down

0 comments on commit 93ed08b

Please sign in to comment.