Unverified Commit 89a789c1 authored by kladko's avatar kladko

bug/SKALE-3751-enable-zeromq

parent 1985e827
......@@ -103,9 +103,8 @@ void initUserSpace() {
systemHealthCheck();
#endif
zmqServer = new ZMQServer();
static std::thread serverThread(std::bind(&ZMQServer::run, zmqServer));
serverThread.detach();
}
void exitZMQServer() {
......@@ -211,8 +210,15 @@ void initAll(uint32_t _logLevel, bool _checkCert, bool _autoSign, bool _generate
SGXWalletServer::initHttpsServer(_checkCert);
SGXRegistrationServer::initRegistrationServer(_autoSign);
CSRManagerServer::initCSRManagerServer();
zmqServer = new ZMQServer();
static std::thread serverThread(std::bind(&ZMQServer::run, zmqServer));
serverThread.detach();
} else {
SGXWalletServer::initHttpServer();
zmqServer = new ZMQServer();
static std::thread serverThread(std::bind(&ZMQServer::run, zmqServer));
serverThread.detach();
}
SGXInfoServer::initInfoServer(_logLevel, _checkCert, _autoSign, _generateTestKeys);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment