debug--, and bury jobs when the server gets it just in case it takes a while
This commit is contained in:
@@ -92,6 +92,7 @@ class ServerEventHandler(BaseHandler):
|
||||
events = []
|
||||
job = queue.reserve(timeout=30)
|
||||
if job:
|
||||
job.bury()
|
||||
events.append({'id': job.jid, 'event': json.loads(job.body)})
|
||||
return {'events': events}
|
||||
|
||||
|
Reference in New Issue
Block a user