diff --git a/server/tinode.conf b/server/tinode.conf index ae0da2c10..b5bf5ea91 100644 --- a/server/tinode.conf +++ b/server/tinode.conf @@ -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.