lower thread priority of worker threads

This commit is contained in:
Konstantin Käfer
2015-04-28 18:23:32 +02:00
parent 7390062c45
commit 27d8e82e1c
12 changed files with 48 additions and 6 deletions

View File

@@ -62,7 +62,7 @@ std::string unifyMapboxURLs(const std::string &url) {
using namespace mapbox::sqlite;
SQLiteCache::SQLiteCache(const std::string& path_)
: thread(util::make_unique<util::Thread<Impl>>("SQLite Cache", path_)) {
: thread(util::make_unique<util::Thread<Impl>>("SQLite Cache", util::ThreadPriority::Low, path_)) {
}
SQLiteCache::~SQLiteCache() = default;