diff --git a/src/PushServer.php b/src/PushServer.php index e66b4d1..28ac700 100644 --- a/src/PushServer.php +++ b/src/PushServer.php @@ -70,7 +70,7 @@ class PushServer /** @var AbstractEvent|null 最近一个事件 */ protected ?AbstractEvent $_lastEvent = null; - protected function __construct() + public function __construct() { $this->_keepaliveTimeout = self::getConfig('heartbeat', 60); }