Skip to content

Commit cd8bedc

Browse files
committed
This value should be a string according to resque -- change it to
maintain compatability.
1 parent 9b38578 commit cd8bedc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pyres/worker.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ def working_on(self, job):
187187
logging.debug('marking as working on')
188188
data = {
189189
'queue': job._queue,
190-
'run_at': int(time.mktime(datetime.datetime.now().timetuple())),
190+
'run_at': str(int(time.mktime(datetime.datetime.now().timetuple()))),
191191
'payload': job._payload
192192
}
193193
data = json.dumps(data)

0 commit comments

Comments
 (0)