From 3fb94efb521b55c9d79cb384f07eb50f59ddd360 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=BB=84=E6=9C=9D=E6=99=96?= Date: Tue, 12 Nov 2019 16:27:22 +0800 Subject: [PATCH] Update RedisServerMutex.php --- src/crontab/src/Mutex/RedisServerMutex.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/crontab/src/Mutex/RedisServerMutex.php b/src/crontab/src/Mutex/RedisServerMutex.php index 6e322b99f..3dd59afc0 100644 --- a/src/crontab/src/Mutex/RedisServerMutex.php +++ b/src/crontab/src/Mutex/RedisServerMutex.php @@ -68,7 +68,7 @@ class RedisServerMutex implements ServerMutex protected function getMutexName(Crontab $crontab) { - return 'framework' . DIRECTORY_SEPARATOR . 'crontab-' . sha1($crontab->getName() . $crontab->getRule()) . '-sv'; + return 'hyperf' . DIRECTORY_SEPARATOR . 'crontab-' . sha1($crontab->getName() . $crontab->getRule()) . '-sv'; } protected function getMacAddress(): ?string @@ -83,4 +83,4 @@ class RedisServerMutex implements ServerMutex return null; } -} \ No newline at end of file +}