作者 邓超

1

... ... @@ -12,7 +12,7 @@ include_once __DIR__."/../vendor/autoload.php";
function start(){
// 删除停止运行的值
redis()->delete(SYNC_RUNNING_REDIS_KEY);
redis()->delete(SYNC_RUNNING_REDIS_KEY,'email_sync_stop_num');
// 进程管理器
$pm = new Process\Manager();
... ...
... ... @@ -200,8 +200,8 @@ class RedisPool {
* @author:dc
* @time 2023/2/14 14:04
*/
public function delete($key):int {
return $this->getClient()->del($key);
public function delete(...$key):int {
return $this->getClient()->del(...$key);
}
/**
... ...