Start pool in trytond
This is to register classes if no database names are in options and also the custom routes. issue10211 review340391002
This commit is contained in:
1 parent
45d406e270
commit
96a459ed96
1 file changed
+1
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user