[FIX] openerp-server: start cron jobs in their own threads
bzr revid: odo@openerp.com-20110706134452-e28ddxeo6pq6tky2
This commit is contained in:
parent
1847dbc017
commit
7ed682b71f
|
@ -108,7 +108,7 @@ if config['db_name']:
|
|||
openerp.tools.convert_yaml_import(cr, 'base', file(config["test_file"]), {}, 'test', True)
|
||||
cr.rollback()
|
||||
|
||||
pool.get('ir.cron')._poolJobs(db.dbname)
|
||||
pool.get('ir.cron').restart(db.dbname)
|
||||
|
||||
cr.close()
|
||||
|
||||
|
|
Loading…
Reference in New Issue