logic: improved performance of initializing the fulltext search index
* implemented using multithreaing for building the fulltext search index * also: decreased ideal thread count by 1 to keep the machine responsive while indexing and building the index
This commit is contained in:
@@ -156,7 +156,7 @@ OsType utility::getOsType()
|
||||
|
||||
int utility::getIdealThreadCount()
|
||||
{
|
||||
return QThread::idealThreadCount();
|
||||
return std::max(1, QThread::idealThreadCount() - 1);
|
||||
}
|
||||
|
||||
bool utility::saveLicense(const License* license)
|
||||
|
||||
Reference in New Issue
Block a user