From 3ea0c2a04e63a0d84e561e45a2e51aa2a5ff1698 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Mon, 12 Oct 2026 17:40:15 +0200 Subject: [PATCH] Set the default cache timeout to 300 seconds as stated in the documentation Closes #15160 (grafted from eda9f5c7918eeaf17f97bc7c75c50dedef9964ae) --HG-- branch : 8.0 --- trytond/trytond/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/trytond/trytond/config.py b/trytond/trytond/config.py index d8347f8c94..08d14d24b5 100644 --- a/trytond/trytond/config.py +++ b/trytond/trytond/config.py @@ -104,7 +104,7 @@ class TrytonConfigParser(configparser.ConfigParser): 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('report') self.add_section('html')