diff options
Diffstat (limited to 'platform')
-rw-r--r-- | platform/default/src/mbgl/storage/offline_download.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/default/src/mbgl/storage/offline_download.cpp b/platform/default/src/mbgl/storage/offline_download.cpp index 87927c5b98..89fd100aa7 100644 --- a/platform/default/src/mbgl/storage/offline_download.cpp +++ b/platform/default/src/mbgl/storage/offline_download.cpp @@ -373,7 +373,7 @@ void OfflineDownload::continueDownload() { if (resourcesToBeMarkedAsUsed.size() >= kMarkBatchSize) markPendingUsedResources(); uint32_t maxConcurrentRequests = util::DEFAULT_MAXIMUM_CONCURRENT_REQUESTS; - auto value = onlineFileSource.getProperty("max-concurrent-requests"); + auto value = onlineFileSource.getProperty(MAX_CONCURRENT_REQUESTS_KEY); if (uint64_t* maxRequests = value.getUint()) { maxConcurrentRequests = static_cast<uint32_t>(*maxRequests); } |