Skip to content

Commit

Permalink
Merge pull request #18 from aloware/fix/asterix-issue-in-queue-name-p…
Browse files Browse the repository at this point in the history
…attern

Bugfix | Remove Asterix In Queue Name Patterns
  • Loading branch information
hamed-aloware authored Jun 8, 2022
2 parents 37ee67d + 57b6f8e commit c0feb15
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 c0feb15

Please sign in to comment.