fixed bug in latest commit, thanks Niphlod

This commit is contained in:
Massimo committed 2013-02-14 14:41:52 -06:00
1 parent 18d2cc4f12
commit c121589499
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -1 +1 @@
Version 2.4.1-alpha.2+timestamp.2013.02.14.14.22.13 Version 2.4.1-alpha.2+timestamp.2013.02.14.14.41.19
+1 -1
View File
@@ -753,7 +753,7 @@ class Scheduler(MetaScheduler):
self.worker_status[0] = KILL self.worker_status[0] = KILL
self.die() self.die()
else: else:
logger.debug('........recording heartbeat (%s) %s', self.worker_status[0], mybackedstatus) logger.debug('........recording heartbeat (%s)', self.worker_status[0])
db(sw.worker_name == self.worker_name).update( db(sw.worker_name == self.worker_name).update(
last_heartbeat=now, status=ACTIVE) last_heartbeat=now, status=ACTIVE)
self.worker_status[1] = 1 # re-activating the process self.worker_status[1] = 1 # re-activating the process