Always set job.started_at in monitor_work_horse (#1242)

Co-authored-by: Russell Martin <russell@divipay.io>
main
rmartin48 5 years ago committed by GitHub
parent b2be17417f
commit a922a553cb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -680,7 +680,7 @@ class Worker(object):
"""
ret_val = None
job.started_at = job.started_at or utcnow()
job.started_at = utcnow()
while True:
try:
with UnixSignalDeathPenalty(self.job_monitoring_interval, HorseMonitorTimeoutException):

Loading…
Cancel
Save