From 6be0ac561e628cefbefba0176af66e7213ddeddb Mon Sep 17 00:00:00 2001 From: Harald Hoyer Date: Wed, 7 Aug 2024 14:37:55 +0200 Subject: [PATCH] fix: use `performance_multiplier` The vault instances lose the raft leader status, while loading the `vault-auth-tee` plugin, because the gramine enviroment slows down the `execve` significantly. Using `performance_multiplier` relaxes the timeouts for the raft protocol. see also: https://github.com/hashicorp/vault/issues/28009 Signed-off-by: Harald Hoyer --- packages/container-vault-start-config/config.hcl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/container-vault-start-config/config.hcl b/packages/container-vault-start-config/config.hcl index 742ffc4..0d24ec9 100644 --- a/packages/container-vault-start-config/config.hcl +++ b/packages/container-vault-start-config/config.hcl @@ -22,7 +22,8 @@ storage "raft" { # Parameter needed because of slow plugin loading # may be relaxed for faster machines - # performance_multiplier = 200 + # see also https://github.com/hashicorp/vault/issues/28009 + performance_multiplier = 10 # autopilot_reconcile_interval = "120s" # autopilot_update_interval = "60s"