fix: horizon job checker

This commit is contained in:
Andras Bacsai committed 2025-01-10 18:27:48 +01:00
1 parent a3648901ed
commit 02400added
9 files changed
+87 -34

No files matched your search

+5
View File
@@ -21,6 +21,11 @@ class CustomJobRepository extends RedisJobRepository implements CustomJobReposit
return $this->getJobsByStatus('reserved');
}
public function getJobStatus(string $jobId): string
{
return $this->connection()->get('job:'.$jobId.':status');
}
/**
* Get all jobs with a specific status.
*/