From 39ab0953688b6f5c37db167a4c260bb6bc28bb3f Mon Sep 17 00:00:00 2001 From: hectorj2f Date: Mon, 30 Sep 2024 22:29:08 +0200 Subject: [PATCH] rekor: propose some default settings for the db connections 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..acee8148c 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=500", + "--search_index.mysql.max_idle_connections=250", # "--rekor_server.timestamp_chain=$(TIMESTAMP_CHAIN)" ] env: