From 000b8657e4670b66105c36211f084f99720c0177 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..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: