From 86c4c2ff8b43710ecc91b3a480dba944e18272e3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Tue, 21 Dec 2021 23:29:45 +0100 Subject: [PATCH] Add missing documentation of database timeout, minconn and maxconn issue11032 review374431002 --- doc/topics/configuration.rst | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/doc/topics/configuration.rst b/doc/topics/configuration.rst index dd788b6146..299e0cbbd2 100644 --- a/doc/topics/configuration.rst +++ b/doc/topics/configuration.rst @@ -196,6 +196,26 @@ default_name The name of the database to use for operations without a database name. Default: ``template1`` for PostgreSQL, ``:memory:`` for SQLite. +timeout +~~~~~~~ + +The timeout duration in seconds after which the connections to unused databases +are closed. +Default: ``1800`` (30 minutes) + +minconn +~~~~~~~ + +The minimum number of connections to keep in the pool (if the backend supports +pool) per process. +Default: ``1`` + +maxconn +~~~~~~~ + +The maximum number of simultaneous connections to the database per process. +Default: ``64`` + request -------