Skip to content

Commit

Permalink
Revert "[gdal] Enable multi-threaded whenever possible"
Browse files Browse the repository at this point in the history
This reverts commit b306ae0.
  • Loading branch information
nirvn committed Feb 27, 2021
1 parent 7e5b6dd commit 9ef1976
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions src/core/qgsapplication.cpp
Expand Up @@ -345,13 +345,6 @@ void QgsApplication::init( QString profileFolder )
}
*sSystemEnvVars() = systemEnvVarMap;

#if GDAL_VERSION_NUM >= GDAL_COMPUTE_VERSION(3,2,0)
if ( CPLGetConfigOption( "GDAL_NUM_THREADS", nullptr ) == nullptr )
{
CPLSetConfigOption( "GDAL_NUM_THREADS", "ALL_CPUS" );
}
#endif

// append local user-writable folder as a proj search path
QStringList currentProjSearchPaths = QgsProjUtils::searchPaths();
currentProjSearchPaths.append( qgisSettingsDirPath() + QStringLiteral( "proj" ) );
Expand Down

0 comments on commit 9ef1976

Please sign in to comment.