Dynamic monerod --max-concurrency, max 6

This commit is contained in:
dsc
2019-01-29 16:51:54 +01:00
parent 9689fff957
commit da3eae20f0
3 changed files with 9 additions and 5 deletions

View File

@@ -290,7 +290,7 @@ int main(int argc, char *argv[])
engine.rootContext()->setContextProperty("defaultAccountName", accountName);
engine.rootContext()->setContextProperty("applicationDirectory", QApplication::applicationDirPath());
engine.rootContext()->setContextProperty("numberMiningThreadsAvailable", QThread::idealThreadCount());
engine.rootContext()->setContextProperty("idealThreadCount", QThread::idealThreadCount());
bool builtWithScanner = false;
#ifdef WITH_SCANNER