Skip to content

Commit

Permalink
adjust commen - code review suggetion
Browse files Browse the repository at this point in the history
  • Loading branch information
OutOfBrain committed Jul 24, 2015
1 parent 5100483 commit 6d738e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Job/Status.php
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ public function update($status)
'updated' => $this->attributes['updated']
));

// Expire or delete the status for completed jobs after given time
// Delete completed jobs and set expire times for the rest.
if ($status == self::STATUS_COMPLETE) {
$this->client->del($this->getHashKey());
} elseif (in_array($status, self::$complete)) {
Expand Down

0 comments on commit 6d738e7

Please sign in to comment.