...
|
...
|
@@ -11,6 +11,7 @@ namespace Hood\Core\Session; |
|
|
use Hood\Core\Support\Str;
|
|
|
use Hood\Core\Root;
|
|
|
use Hood\Cache\Memcached as mcCache;
|
|
|
use Hood\Utils\Rpc\Factory;
|
|
|
|
|
|
class RpcSession extends Root implements SessionHandlerInterface
|
|
|
{
|
...
|
...
|
@@ -119,7 +120,7 @@ class RpcSession extends Root implements SessionHandlerInterface |
|
|
}
|
|
|
$this->setOption();
|
|
|
if (empty($this->serviceClient)) {
|
|
|
$this->serviceClient = new \Yar_Client($this->serviceUrl);
|
|
|
$this->serviceClient = Factory::getInstance($this->serviceUrl);
|
|
|
}
|
|
|
return $this->serviceClient;
|
|
|
}
|
...
|
...
|
|