From 0f492ee30ecff52fabcc39170d8f6786eb8508c3 Mon Sep 17 00:00:00 2001 From: Exodus4D Date: Sun, 22 Oct 2017 14:14:59 +0200 Subject: [PATCH] - added log file write ability - added unSubscribeCharacterIds() for multi logout characters --- app/Main/MapUpdate.php | 5 +++++ composer.json | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/app/Main/MapUpdate.php b/app/Main/MapUpdate.php index fb3f4a7..beb88c5 100644 --- a/app/Main/MapUpdate.php +++ b/app/Main/MapUpdate.php @@ -545,6 +545,11 @@ private function setConnectionAccess($connectionAccessData) { return $response; } + /** + * dispatch log writing to a LogFileHandler + * @param array $meta + * @param array $log + */ private function handleLogData(array $meta, array $log){ $logHandler = new LogFileHandler((string)$meta['stream']); $logHandler->write($log); diff --git a/composer.json b/composer.json index b774875..b0ac92f 100644 --- a/composer.json +++ b/composer.json @@ -17,7 +17,7 @@ "require": { "php-64bit": ">=7.0", "ext-zmq": "1.1.*", - "cboden/ratchet": "0.3.*", - "react/zmq": "0.3.*" + "cboden/ratchet": "0.4.x-dev", + "react/zmq": "dev-master" } } \ No newline at end of file