From 577fa4ec0cd1b0a3362001e577ded671c0e7070d Mon Sep 17 00:00:00 2001 From: Michael Vines Date: Tue, 15 Feb 2022 17:37:45 -0800 Subject: [PATCH] Generate full snapshots 4x faster to keep incremental snapshots nice and small --- runtime/src/snapshot_utils.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runtime/src/snapshot_utils.rs b/runtime/src/snapshot_utils.rs index c071899630ccea..2c6eac69ea57f9 100644 --- a/runtime/src/snapshot_utils.rs +++ b/runtime/src/snapshot_utils.rs @@ -44,7 +44,7 @@ use { }; pub const SNAPSHOT_STATUS_CACHE_FILE_NAME: &str = "status_cache"; -pub const DEFAULT_FULL_SNAPSHOT_ARCHIVE_INTERVAL_SLOTS: Slot = 100_000; +pub const DEFAULT_FULL_SNAPSHOT_ARCHIVE_INTERVAL_SLOTS: Slot = 25_000; pub const DEFAULT_INCREMENTAL_SNAPSHOT_ARCHIVE_INTERVAL_SLOTS: Slot = 100; const MAX_SNAPSHOT_DATA_FILE_SIZE: u64 = 32 * 1024 * 1024 * 1024; // 32 GiB const MAX_SNAPSHOT_VERSION_FILE_SIZE: u64 = 8; // byte