mirror of
https://gitee.com/hyperf/hyperf.git
synced 2024-12-04 20:58:13 +08:00
Update RedisServerMutex.php
This commit is contained in:
parent
1bdf36b380
commit
3fb94efb52
@ -68,7 +68,7 @@ class RedisServerMutex implements ServerMutex
|
|||||||
|
|
||||||
protected function getMutexName(Crontab $crontab)
|
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
|
protected function getMacAddress(): ?string
|
||||||
|
Loading…
Reference in New Issue
Block a user