changeset 0fc174ad1504 in trytond:default
details: https://hg.tryton.org/trytond?cmd=changeset&node=0fc174ad1504
description:
        Add missing documentation of database timeout, minconn and maxconn

        issue11032
        review374431002
diffstat:

 doc/topics/configuration.rst |  20 ++++++++++++++++++++
 1 files changed, 20 insertions(+), 0 deletions(-)

diffs (30 lines):

diff -r b44aff9d2dc8 -r 0fc174ad1504 doc/topics/configuration.rst
--- a/doc/topics/configuration.rst      Tue Dec 21 23:18:36 2021 +0100
+++ b/doc/topics/configuration.rst      Tue Dec 21 23:29:45 2021 +0100
@@ -196,6 +196,26 @@
 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
 -------
 

Reply via email to