Skip to content

Commit 1e84646

Browse files
ecebuzzsylvinus
authored andcommitted
Persist the 1st report of worker (#127)
I would like to see that the 1st report is persisted in the mongodb just like the last report in work_stop()
1 parent 3f587f4 commit 1e84646

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

mrq/worker.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,7 @@ def greenlet_report(self):
172172
Should we do this in a thread instead?
173173
"""
174174

175+
self.report_worker(w=1)
175176
while True:
176177
try:
177178
self.report_worker()

0 commit comments

Comments
 (0)