From 96a459ed9612ab465475a27f47203f32aa92ea01 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Tue, 23 Mar 2021 23:56:54 +0100 Subject: [PATCH] Start pool in trytond This is to register classes if no database names are in options and also the custom routes. issue10211 review340391002 --- bin/trytond | 1 + 1 file changed, 1 insertion(+) diff --git a/bin/trytond b/bin/trytond index 1e40cf0d06..d1dddec5b9 100755 --- a/bin/trytond +++ b/bin/trytond @@ -31,6 +31,7 @@ from trytond.pool import Pool from trytond.modules import get_module_list, get_module_info with commandline.pidfile(options): + Pool.start() threads = [] for name in options.database_names: thread = threading.Thread(target=Pool(name).init)