Do not use global thread pool

This commit is contained in:
2025-01-12 10:59:12 +01:00
parent 236f66ed2f
commit 2b96da60de
3 changed files with 21 additions and 16 deletions
+1
View File
@@ -29,6 +29,7 @@ ScriptEngine::ScriptEngine(BatchProcessing *parent)
_jsEngine->globalObject().setProperty("FITSRecordModify", fitsRecordObject);
_database->init(QLatin1String("scriptengine"));
_semaphore.release(_pool->maxThreadCount());
_pool->setThreadPriority(QThread::LowPriority);
#ifdef PLATESOLVER
_solver = new Solver(this);