改名
This commit is contained in:
+1
-1
@@ -324,7 +324,7 @@ class Kiri
|
|||||||
* @param bool $isWorker
|
* @param bool $isWorker
|
||||||
* @throws Exception
|
* @throws Exception
|
||||||
*/
|
*/
|
||||||
public static function clearProcessId($workerId, $isWorker = false)
|
public static function clearProcessId($workerId, bool $isWorker = false)
|
||||||
{
|
{
|
||||||
clearstatcache();
|
clearstatcache();
|
||||||
$directory = $isWorker === true ? 'pid/worker' : 'pid/task';
|
$directory = $isWorker === true ? 'pid/worker' : 'pid/task';
|
||||||
|
|||||||
Reference in New Issue
Block a user