mirror of
https://github.com/JulianGro/overte.git
synced 2025-08-13 18:55:46 +02:00
Merge pull request #13176 from SimonWalton-HiFi/low-connectivity
Try reducing concurrent downloads
This commit is contained in:
commit
38e7b31c32
1 changed files with 4 additions and 0 deletions
|
@ -334,7 +334,11 @@ static const QString RENDER_FORWARD{ "HIFI_RENDER_FORWARD" };
|
||||||
static bool DISABLE_DEFERRED = QProcessEnvironment::systemEnvironment().contains(RENDER_FORWARD);
|
static bool DISABLE_DEFERRED = QProcessEnvironment::systemEnvironment().contains(RENDER_FORWARD);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if !defined(Q_OS_ANDROID)
|
||||||
static const int MAX_CONCURRENT_RESOURCE_DOWNLOADS = 16;
|
static const int MAX_CONCURRENT_RESOURCE_DOWNLOADS = 16;
|
||||||
|
#else
|
||||||
|
static const int MAX_CONCURRENT_RESOURCE_DOWNLOADS = 4;
|
||||||
|
#endif
|
||||||
|
|
||||||
// For processing on QThreadPool, we target a number of threads after reserving some
|
// 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,
|
// based on how many are being consumed by the application and the display plugin. However,
|
||||||
|
|
Loading…
Reference in a new issue