Skip to content

Commit

Permalink
remove asterix in queue names pattern
Browse files Browse the repository at this point in the history
  • Loading branch information
hamed-aloware committed May 24, 2022
1 parent b9d41ec commit 57b6f8e
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/Repositories/RedisKeys.php
Original file line number Diff line number Diff line change
Expand Up @@ -54,15 +54,15 @@ private function inProgressJobKey($connection, $queue, $partition, $jobUuid)
private function queueListPattern()
{
return sprintf(
'*%s:*',
'%s:*',
$this->fairQueueKeyPrefix()
);
}

private function queuePartitionListPattern($queue)
{
return sprintf(
'*%s:%s:*',
'%s:%s:*',
$this->fairQueueKeyPrefix(),
$queue
);
Expand All @@ -71,7 +71,7 @@ private function queuePartitionListPattern($queue)
private function failedQueuePartitionListPattern($queue)
{
return sprintf(
'*%s-failed:%s:*',
'%s-failed:%s:*',
$this->fairQueueKeyPrefix(),
$queue
);
Expand All @@ -80,15 +80,15 @@ private function failedQueuePartitionListPattern($queue)
private function failedQueueListPattern()
{
return sprintf(
'*%s-failed:*',
'%s-failed:*',
$this->fairQueueKeyPrefix()
);
}

private function failedPartitionListPattern($queue)
{
return sprintf(
'*%s-failed:%s:*',
'%s-failed:%s:*',
$this->fairQueueKeyPrefix(),
$queue
);
Expand All @@ -97,7 +97,7 @@ private function failedPartitionListPattern($queue)
private function inProgressJobsPattern()
{
return sprintf(
'*%s-inprogress:*',
'%s-inprogress:*',
$this->fairQueueKeyPrefix()
);
}
Expand Down

0 comments on commit 57b6f8e

Please sign in to comment.