Skip to content

Commit fa5246b

Browse files
committed
Fixed saving of the job retry status (#20)
1 parent b9e003a commit fa5246b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/JobMonitor.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ public function afterExec(ExecEvent $event)
176176
'memory_usage' => static::$startedPush ? memory_get_peak_usage() : null,
177177
'error' => $event->error,
178178
'result_data' => $event->result !== null ? serialize($event->result) : null,
179-
'retry' => $event->retry,
179+
'retry' => (bool) $event->retry,
180180
], [
181181
'id' => $push->last_exec_id
182182
]);

0 commit comments

Comments
 (0)