good morning!!!!

Skip to content
Snippets Groups Projects
Commit 759865e0 authored by or-else's avatar or-else
Browse files

postgress: reduce the number of open connectins to fit under default limit

parent c455fca3
No related branches found
Tags v0.22.11
No related merge requests found
......@@ -246,9 +246,9 @@
// PostgreSQL connection pool settings.
// Maximum number of open connections to the database. Zero means unlimited.
"max_open_conns": 64,
"max_open_conns": 50,
// Maximum number of connections in the idle connection pool. Zero means no idle connections are retained.
"max_idle_conns": 64,
"max_idle_conns": 50,
// Maximum amount of time a connection may be reused. Zero means unlimited.
"conn_max_lifetime": 60,
// Maximum amount of time waiting for a connection from the pool. Zero means no timeout.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment