fix: MySQL/Postgress max_idle_conn default was wrongly set to zero, which does not mean unlimited but zero, which in practice disables connection pooling, not good. now max idle conn is set to golang's default which is 2, fixes #8513

This commit is contained in:
Torkel Ödegaard
2017-08-08 16:17:52 +02:00
parent 64b5153e7d
commit a47b31ac62
31 changed files with 2235 additions and 3886 deletions

View File

@ -6,3 +6,4 @@ postgrestest:
POSTGRES_DATABASE: grafana
ports:
- "5432:5432"
command: postgres -c log_connections=on -c logging_collector=on -c log_destination=stderr -c log_directory=/var/log/postgresql