Skip to content

Commit 6d738e7

Browse files
committed
adjust commen - code review suggetion
1 parent 5100483 commit 6d738e7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Job/Status.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ public function update($status)
221221
'updated' => $this->attributes['updated']
222222
));
223223

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

0 commit comments

Comments
 (0)