summaryrefslogtreecommitdiff
path: root/src/mbgl/storage
diff options
context:
space:
mode:
authorJohn Firebaugh <john.firebaugh@gmail.com>2016-02-08 16:52:22 -0800
committerJohn Firebaugh <john.firebaugh@gmail.com>2016-02-10 15:40:20 -0800
commitff15bd51b94c96f169f0b3800fa04a368c5834c6 (patch)
treebff20aad89ea7427803246dd2e0e322146ee2b4e /src/mbgl/storage
parent5d42321b73dcafbfd76d38331558e5e60f7d9f1e (diff)
downloadqtlocation-mapboxgl-ff15bd51b94c96f169f0b3800fa04a368c5834c6.tar.gz
[core] Throttle the number of concurrent requests to 20
Diffstat (limited to 'src/mbgl/storage')
-rw-r--r--src/mbgl/storage/http_context_base.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mbgl/storage/http_context_base.hpp b/src/mbgl/storage/http_context_base.hpp
index b50bf11ec7..6615ea00cf 100644
--- a/src/mbgl/storage/http_context_base.hpp
+++ b/src/mbgl/storage/http_context_base.hpp
@@ -11,6 +11,7 @@ namespace mbgl {
class HTTPContextBase {
public:
static std::unique_ptr<HTTPContextBase> createContext();
+ static uint32_t maximumConcurrentRequests();
virtual ~HTTPContextBase() = default;
virtual HTTPRequestBase* createRequest(const Resource&, HTTPRequestBase::Callback) = 0;