Put back cron thread

bzr revid: nicolas.vanhoren@openerp.com-20121115144728-0ts5h9m7873892fd
This commit is contained in:
niv-openerp 2012-11-15 15:47:28 +01:00
parent 0ce74b62ca
commit 966cadcdd6
1 changed files with 2 additions and 4 deletions

View File

@ -82,10 +82,8 @@ def start_services():
# Initialize the HTTP stack.
netrpc_server.init_servers()
# Start the main cron thread.
# TODO GEVENT if event use greenlet in cron
#if openerp.conf.max_cron_threads:
# openerp.cron.start_master_thread()
if openerp.conf.max_cron_threads:
openerp.cron.start_master_thread()
# Start the top-level servers threads (normally HTTP, HTTPS, and NETRPC).
openerp.netsvc.Server.startAll()