details:   https://code.tryton.org/tryton/commit/b8c6c14bba04
branch:    7.0
user:      Cédric Krier <[email protected]>
date:      Mon Oct 12 17:40:15 2026 +0200
description:
        Set the default cache timeout to 300 seconds as stated in the 
documentation

        Closes #15160
        (grafted from eda9f5c7918eeaf17f97bc7c75c50dedef9964ae)
diffstat:

 trytond/trytond/config.py |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 1e9143123687 -r b8c6c14bba04 trytond/trytond/config.py
--- a/trytond/trytond/config.py Wed Oct 14 22:42:30 2026 +0200
+++ b/trytond/trytond/config.py Mon Oct 12 17:40:15 2026 +0200
@@ -94,7 +94,7 @@
         self.add_section('bus')
         self.set('bus', 'allow_subscribe', 'False')
         self.set('bus', 'long_polling_timeout', str(5 * 60))
-        self.set('bus', 'cache_timeout', '5')
+        self.set('bus', 'cache_timeout', str(5 * 60))
         self.set('bus', 'select_timeout', '5')
         self.add_section('html')
         self.update_environ()

Reply via email to