[IMP] WorkerCron: renice process

bzr revid: chs@openerp.com-20130701125548-sgcaf71avwpleml1
This commit is contained in:
Christophe Simonis
2013-07-01 14:55:48 +02:00
parent ad8fcbffa2
commit ac8dc26c65
+1
View File
@@ -437,6 +437,7 @@ class WorkerCron(Worker):
self.db_index = 0
def start(self):
os.nice(10) # mommy always told me to be nice with others...
Worker.start(self)
self.multi.socket.close()
openerp.service.start_internal()