mirror of
https://github.com/YGGverse/YGGo.git
synced 2025-03-13 05:41:02 +00:00
fix semaphore ID
This commit is contained in:
parent
a79943dbae
commit
2c5128382b
@ -7,7 +7,7 @@ if (php_sapi_name() != 'cli') {
|
||||
}
|
||||
|
||||
// Lock multi-thread execution
|
||||
$semaphore = sem_get(crc32('crontab.cleaner'), 1);
|
||||
$semaphore = sem_get(crc32('cli.yggo'), 1);
|
||||
|
||||
if (false === sem_acquire($semaphore, true)) {
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user