reduce connection count in dogfood and sandbox environments (#10468)

relates to https://github.com/fleetdm/confidential/issues/2126
This commit is contained in:
Benjamin Edwards
2023-03-14 11:45:22 -04:00
committed by GitHub
parent 8c2bd476af
commit 08bac6fb4d
3 changed files with 4 additions and 4 deletions
@@ -1 +1 @@
1.0.4
1.3.9
@@ -38,7 +38,7 @@ locals {
FLEET_LICENSE_KEY = var.fleet_license
FLEET_LOGGING_DEBUG = "true"
FLEET_LOGGING_JSON = "true"
FLEET_MYSQL_MAX_OPEN_CONNS = "50"
FLEET_MYSQL_MAX_OPEN_CONNS = "25"
FLEET_VULNERABILITIES_DATABASES_PATH = "/home/fleet"
FLEET_OSQUERY_ENABLE_ASYNC_HOST_PROCESSING = "false"
}
@@ -149,8 +149,8 @@ mysql:
# Only needed if creating secret.
password: default
passwordKey: mysql-password
maxOpenConns: 50
maxIdleConns: 50
maxOpenConns: 25
maxIdleConns: 25
connMaxLifetime: 0
tls:
enabled: false