Set REALM_DISABLE_ANALYTICS env var when running Node.JS server

Remove Jenkins change

Signed-off-by: Vitaliy Vlasov <siphiuel@gmail.com>
This commit is contained in:
Vitaliy Vlasov 2018-12-13 18:12:07 +02:00
parent d603460ff1
commit 9afd76c7a8
No known key found for this signature in database
GPG Key ID: A7D57C347F2B2964
1 changed files with 1 additions and 0 deletions

View File

@ -449,6 +449,7 @@ bool runNodeJsServer() {
QStringList arguments = (QStringList() << "--port" << port);
g_nodeJsServerProcess->setArguments(arguments);
}
qputenv("REALM_DISABLE_ANALYTICS", "1");
QObject::connect(g_nodeJsServerProcess, &QProcess::errorOccurred,
[=](QProcess::ProcessError) {
qCWarning(JSSERVER) << "process name: "