Merge pull request #9339 from jherico/min_threadpool

Reduce min threads in threadpool to 1
This commit is contained in:
samcake 2017-01-12 15:37:17 -08:00 committed by GitHub
commit 90151b67c4

View file

@ -197,7 +197,7 @@ static const int MAX_CONCURRENT_RESOURCE_DOWNLOADS = 16;
// For processing on QThreadPool, we target a number of threads after reserving some
// based on how many are being consumed by the application and the display plugin. However,
// we will never drop below the 'min' value
static const int MIN_PROCESSING_THREAD_POOL_SIZE = 2;
static const int MIN_PROCESSING_THREAD_POOL_SIZE = 1;
static const QString SNAPSHOT_EXTENSION = ".jpg";
static const QString SVO_EXTENSION = ".svo";