Put back cron thread
bzr revid: nicolas.vanhoren@openerp.com-20121115144728-0ts5h9m7873892fd
This commit is contained in:
parent
0ce74b62ca
commit
966cadcdd6
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue