Skip to content

Commit c51bb80

Browse files
author
water
committed
consts: add VAULT_DISABLE_CONSUMPTION_BILLING env var constant
1 parent 92b976e commit c51bb80

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

sdk/helper/consts/consts.go

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,13 @@ const (
4444

4545
VaultDisableUserLockout = "VAULT_DISABLE_USER_LOCKOUT"
4646

47+
// VaultDisableConsumptionBilling is the environment variable that disables
48+
// the periodic consumption billing metrics worker. When set to a non-empty
49+
// value, the worker that walks the entire KV store every 10 minutes is
50+
// not registered during post-unseal, preventing the memory and performance
51+
// impact of the periodic KV store enumeration on large installations.
52+
VaultDisableConsumptionBilling = "VAULT_DISABLE_CONSUMPTION_BILLING"
53+
4754
PerformanceReplicationPathTarget = "performance"
4855

4956
DRReplicationPathTarget = "dr"

0 commit comments

Comments
 (0)