details:   https://code.tryton.org/tryton/commit/ba8b6894398c
branch:    default
user:      Cédric Krier <[email protected]>
date:      Mon Oct 12 17:39:52 2026 +0200
description:
        Set the default select timeout of bus to 60 seconds
diffstat:

 trytond/doc/topics/configuration.rst |  2 +-
 trytond/trytond/config.py            |  2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diffs (24 lines):

diff -r eda9f5c7918e -r ba8b6894398c trytond/doc/topics/configuration.rst
--- a/trytond/doc/topics/configuration.rst      Mon Oct 12 17:40:15 2026 +0200
+++ b/trytond/doc/topics/configuration.rst      Mon Oct 12 17:39:52 2026 +0200
@@ -880,7 +880,7 @@
 
 The timeout duration of the select call when listening on a channel.
 
-Default: ``5``
+Default: ``60``
 
 .. _config-report:
 
diff -r eda9f5c7918e -r ba8b6894398c trytond/trytond/config.py
--- a/trytond/trytond/config.py Mon Oct 12 17:40:15 2026 +0200
+++ b/trytond/trytond/config.py Mon Oct 12 17:39:52 2026 +0200
@@ -105,7 +105,7 @@
         self.set('bus', 'allow_subscribe', 'False')
         self.set('bus', 'long_polling_timeout', str(5 * 60))
         self.set('bus', 'cache_timeout', str(5 * 60))
-        self.set('bus', 'select_timeout', '5')
+        self.set('bus', 'select_timeout', '60')
         self.add_section('report')
         self.add_section('html')
         self.add_section('attachment')

Reply via email to