改名
This commit is contained in:
@@ -63,7 +63,6 @@ class RpcJsonp extends Component implements OnConnectInterface, OnReceiveInterfa
|
|||||||
scan_directory(APP_PATH . 'rpc', 'Rpc');
|
scan_directory(APP_PATH . 'rpc', 'Rpc');
|
||||||
|
|
||||||
$this->eventProvider->on(OnWorkerStart::class, [$this, 'consulWatches']);
|
$this->eventProvider->on(OnWorkerStart::class, [$this, 'consulWatches']);
|
||||||
$this->eventProvider->on(OnTaskerStart::class, [$this, 'consulWatches']);
|
|
||||||
$this->eventProvider->on(OnServerBeforeStart::class, [$this, 'register']);
|
$this->eventProvider->on(OnServerBeforeStart::class, [$this, 'register']);
|
||||||
|
|
||||||
$this->manager = Kiri::getDi()->get(RpcManager::class);
|
$this->manager = Kiri::getDi()->get(RpcManager::class);
|
||||||
|
|||||||
Reference in New Issue
Block a user