Skip to content

Commit

Permalink
increase snapshot semaphore default limit (#11193)
Browse files Browse the repository at this point in the history
  • Loading branch information
awskii authored Jul 16, 2024
1 parent ce6098e commit c8d9143
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions erigon-lib/common/dbg/experiments.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,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", 1)
BuildSnapshotAllowance = EnvInt("SNAPSHOT_BUILD_SEMA_SIZE", 2) // allows 2 kind of snapshots to be built simultaneously (e.g Caplin+Domains)

SnapshotMadvRnd = EnvBool("SNAPSHOT_MADV_RND", true)
KvMadvNormalNoLastLvl = EnvString("KV_MADV_NORMAL_NO_LAST_LVL", "")
Expand Down

0 comments on commit c8d9143

Please sign in to comment.