changeset ccaa706ed324 in trytond:default
details: https://hg.tryton.org/trytond?cmd=changeset&node=ccaa706ed324
description:
Start pool in trytond
This is to register classes if no database names are in options and
also the
custom routes.
issue10211
review340391002
diffstat:
bin/trytond | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diffs (11 lines):
diff -r 03ec47b65b78 -r ccaa706ed324 bin/trytond
--- a/bin/trytond Sun Mar 21 16:21:05 2021 +0100
+++ b/bin/trytond Tue Mar 23 23:56:54 2021 +0100
@@ -31,6 +31,7 @@
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)