From feddc3e6e7ceac80a4557df960d9da7a48ca8ea2 Mon Sep 17 00:00:00 2001 From: ced <> Date: Tue, 26 Jun 2007 09:43:20 +0000 Subject: KERNEL: fix ir.cron must start only once instance when server run with update args bzr revid: ced-bd7423814d9f1526baa475e379e897de732dd768 --- bin/pooler.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'bin/pooler.py') diff --git a/bin/pooler.py b/bin/pooler.py index 95eb13314a2..0854770078d 100644 --- a/bin/pooler.py +++ b/bin/pooler.py @@ -53,8 +53,7 @@ def get_db_and_pool(db_name, force_demo=False, status={}, update_module=False): if not update_module: import report report.interface.register_all(db) - - pool.get('ir.cron')._poolJobs(db.dbname) + pool.get('ir.cron')._poolJobs(db.dbname) return db, pool def restart_pool(db_name, force_demo=False, update_module=False): -- cgit v1.2.3