- remove all PHP "_ZMQ_" related dependencies from Pathfinder. PHP´s native Sockets work as replacement
- added status information for "WebSocket" installations to `/setup` page (e.g. active connections, startup time) - removed "ext-zmq" as required PHP extension - removed "react/zmq" as required Composer package - removed "websoftwares/monolog-zmq-handler" as required Composer package
This commit is contained in:
@@ -982,7 +982,7 @@ class MapModel extends AbstractMapTrackingModel {
|
||||
if($this->isHistoryLogEnabled()){
|
||||
// check socket config
|
||||
if(Config::validSocketConnect()){
|
||||
$log->addHandler('zmq', 'json', $this->getSocketConfig());
|
||||
$log->addHandler('socket', 'json', $this->getSocketConfig());
|
||||
}else{
|
||||
// update log file local (slow)
|
||||
$log->addHandler('stream', 'json', $this->getStreamConfig());
|
||||
@@ -1155,7 +1155,7 @@ class MapModel extends AbstractMapTrackingModel {
|
||||
*/
|
||||
public function getSocketConfig(): \stdClass{
|
||||
$config = (object) [];
|
||||
$config->uri = Config::getSocketUri();
|
||||
$config->dsn = Config::getSocketUri();
|
||||
$config->streamConf = $this->getStreamConfig(true);
|
||||
return $config;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user