Skip to content

Commit 266c797

Browse files
Fix attempts logic (#25)
1 parent efe2c6e commit 266c797

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Job/QlessJob.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ public function delete()
133133
*/
134134
public function attempts()
135135
{
136-
return $this->job->getRemaining();
136+
return $this->job->getRetries();
137137
}
138138

139139
/**

0 commit comments

Comments
 (0)