提交 617643c8 编写于 作者: weixin_47267244's avatar weixin_47267244

修复 ConnectContextRedis 的 lockId 设为 null 报错问题

上级 45ef7431
...@@ -103,10 +103,6 @@ class Redis implements IHandler ...@@ -103,10 +103,6 @@ class Redis implements IHandler
{ {
return; return;
} }
if (!$this->lockId)
{
throw new \RuntimeException('ConnectContextRedis lockId must be set');
}
$workerId = Worker::getWorkerID(); $workerId = Worker::getWorkerID();
$this->masterPID = $masterPID = Swoole::getMasterPID(); $this->masterPID = $masterPID = Swoole::getMasterPID();
$masterPidKey = $this->key . ':master_pid'; $masterPidKey = $this->key . ':master_pid';
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册