Skip to content

Commit

Permalink
Fix markStarted not calculating timeout correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
matt-in-a-hat authored and ScopeyNZ committed Jun 24, 2018
1 parent 909a6e8 commit f6f6731
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Services/QueuedJobService.php
Original file line number Diff line number Diff line change
Expand Up @@ -906,7 +906,7 @@ protected function unsetRunAsUser(Member $runAsUser = null, Member $originalUser
*/
protected function markStarted()
{
if ($this->startedAt) {
if (!$this->startedAt) {
$this->startedAt = DBDatetime::now()->Format('U');
}
}
Expand Down

0 comments on commit f6f6731

Please sign in to comment.