From 1f79f86be6cb2cac216770d9be45886750042274 Mon Sep 17 00:00:00 2001 From: Vaalyn Date: Fri, 30 Oct 2020 20:10:25 +0100 Subject: [PATCH] Add environement variables for increasing the amount of allowed database connections (#3357) --- azuracast.dev.env | 4 ++++ azuracast.sample.env | 5 +++++ 2 files changed, 9 insertions(+) diff --git a/azuracast.dev.env b/azuracast.dev.env index 5d87223e1..bfaf8460a 100644 --- a/azuracast.dev.env +++ b/azuracast.dev.env @@ -59,3 +59,7 @@ MYSQL_RANDOM_ROOT_PASSWORD=yes # docker-compose exec mariadb slow_queries MYSQL_SLOW_QUERY_LOG=1 +# Set the amount of allowed connections to the database. This value should be increased +# if you are seeing the `Too many connections` error in the logs. +# Default: 100 +MYSQL_MAX_CONNECTIONS=100 diff --git a/azuracast.sample.env b/azuracast.sample.env index 9c4a7acc9..9e17f1a51 100644 --- a/azuracast.sample.env +++ b/azuracast.sample.env @@ -85,6 +85,11 @@ MYSQL_RANDOM_ROOT_PASSWORD=yes # Default: 0 MYSQL_SLOW_QUERY_LOG=0 +# Set the amount of allowed connections to the database. This value should be increased +# if you are seeing the `Too many connections` error in the logs. +# Default: 100 +MYSQL_MAX_CONNECTIONS=100 + # # Advanced Configuration #