diff options
author | Chris Loer <chris.loer@gmail.com> | 2018-09-18 15:06:40 -0700 |
---|---|---|
committer | Konstantin Käfer <mail@kkaefer.com> | 2018-09-26 20:43:24 +0200 |
commit | 368ee1bdfb315b1ec47a7123618a9074f6865b7b (patch) | |
tree | d427171e14a9e844c203cdd2d12c722abc3ea002 /platform/default/mbgl/storage/offline_download.hpp | |
parent | 4e16e2b17961075cd698ee5380941d5593a74e1a (diff) | |
download | qtlocation-mapboxgl-368ee1bdfb315b1ec47a7123618a9074f6865b7b.tar.gz |
[core, offline] Limit offline downloads to use half of maximum concurrent file requests.upstream/nitpick-format
Fixes issue #12655: don't let offline downloads starve interactive tile downloads.
Diffstat (limited to 'platform/default/mbgl/storage/offline_download.hpp')
-rw-r--r-- | platform/default/mbgl/storage/offline_download.hpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/platform/default/mbgl/storage/offline_download.hpp b/platform/default/mbgl/storage/offline_download.hpp index cffac1665b..eec48dd985 100644 --- a/platform/default/mbgl/storage/offline_download.hpp +++ b/platform/default/mbgl/storage/offline_download.hpp @@ -63,6 +63,8 @@ private: void queueResource(Resource); void queueTiles(style::SourceType, uint16_t tileSize, const Tileset&); + + uint32_t maximumConcurrentRequests; }; } // namespace mbgl |