Skip to content

Commit

Permalink
Caplin: Reduced snapshot semaphore to 1 (#12123)
Browse files Browse the repository at this point in the history
I fixed the long caplin's snapshot wait time
  • Loading branch information
Giulio2002 authored Sep 28, 2024
1 parent 34f7656 commit 7dfc912
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion erigon-lib/common/dbg/experiments.go
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ var (

// allow simultaneous build of multiple snapshot types.
// Values from 1 to 4 makes sense since we have only 3 types of snapshots.
BuildSnapshotAllowance = EnvInt("SNAPSHOT_BUILD_SEMA_SIZE", 2) // allows 2 kind of snapshots to be built simultaneously (e.g Caplin+Domains)
BuildSnapshotAllowance = EnvInt("SNAPSHOT_BUILD_SEMA_SIZE", 1) // allows 1 kind of snapshots to be built simultaneously

SnapshotMadvRnd = EnvBool("SNAPSHOT_MADV_RND", true)
KvMadvNormalNoLastLvl = EnvString("KV_MADV_NORMAL_NO_LAST_LVL", "") //TODO: move this logic - from hacks to app-level
Expand Down

0 comments on commit 7dfc912

Please sign in to comment.