[FIX] openerp-server: start cron jobs in their own threads

bzr revid: odo@openerp.com-20110706134452-e28ddxeo6pq6tky2
This commit is contained in:
Olivier Dony 2011-07-06 15:44:52 +02:00
parent 1847dbc017
commit 7ed682b71f
1 changed files with 1 additions and 1 deletions

View File

@ -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()