From b35c2530baed74c77657aa3ffd1177abe17c41c7 Mon Sep 17 00:00:00 2001 From: Hector Fernandez Date: Tue, 1 Oct 2024 15:53:09 +0200 Subject: [PATCH] rekor: propose some default settings for the db connections (#1289) Signed-off-by: hectorj2f --- config/rekor/rekor/300-rekor.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/config/rekor/rekor/300-rekor.yaml b/config/rekor/rekor/300-rekor.yaml index 283ecf5d3..bd7da4d1d 100644 --- a/config/rekor/rekor/300-rekor.yaml +++ b/config/rekor/rekor/300-rekor.yaml @@ -36,6 +36,10 @@ spec: "--rekor_server.signer-passwd=$(SECRET_SIGNING_PWD)", "--enable_attestation_storage=true", "--attestation_storage_bucket=file:///tmp/", + "--search_index.mysql.conn_max_idletime=300s", + "--search_index.mysql.conn_max_lifetime=2100s", + "--search_index.mysql.max_open_connections=300", + "--search_index.mysql.max_idle_connections=100", # "--rekor_server.timestamp_chain=$(TIMESTAMP_CHAIN)" ] env: