From 57b6f8e0cc5838fc558306a5efff539e673de5dc Mon Sep 17 00:00:00 2001 From: Hamed Kamrava Date: Tue, 24 May 2022 16:51:20 +0300 Subject: [PATCH] remove asterix in queue names pattern --- src/Repositories/RedisKeys.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/Repositories/RedisKeys.php b/src/Repositories/RedisKeys.php index d181865..81780a4 100644 --- a/src/Repositories/RedisKeys.php +++ b/src/Repositories/RedisKeys.php @@ -54,7 +54,7 @@ private function inProgressJobKey($connection, $queue, $partition, $jobUuid) private function queueListPattern() { return sprintf( - '*%s:*', + '%s:*', $this->fairQueueKeyPrefix() ); } @@ -62,7 +62,7 @@ private function queueListPattern() private function queuePartitionListPattern($queue) { return sprintf( - '*%s:%s:*', + '%s:%s:*', $this->fairQueueKeyPrefix(), $queue ); @@ -71,7 +71,7 @@ private function queuePartitionListPattern($queue) private function failedQueuePartitionListPattern($queue) { return sprintf( - '*%s-failed:%s:*', + '%s-failed:%s:*', $this->fairQueueKeyPrefix(), $queue ); @@ -80,7 +80,7 @@ private function failedQueuePartitionListPattern($queue) private function failedQueueListPattern() { return sprintf( - '*%s-failed:*', + '%s-failed:*', $this->fairQueueKeyPrefix() ); } @@ -88,7 +88,7 @@ private function failedQueueListPattern() private function failedPartitionListPattern($queue) { return sprintf( - '*%s-failed:%s:*', + '%s-failed:%s:*', $this->fairQueueKeyPrefix(), $queue ); @@ -97,7 +97,7 @@ private function failedPartitionListPattern($queue) private function inProgressJobsPattern() { return sprintf( - '*%s-inprogress:*', + '%s-inprogress:*', $this->fairQueueKeyPrefix() ); }