summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKonstantin Käfer <mail@kkaefer.com>2014-05-26 10:59:15 +0200
committerKonstantin Käfer <mail@kkaefer.com>2014-05-26 10:59:15 +0200
commitb6561dd342aac571e3a42bf057e1cbdd8d062b56 (patch)
tree6153f1dc8ace9bd0818bc92ba04d451d18e66e1d
parent991eeaf24e6c7ff59ce8121d6f7df34458961283 (diff)
downloadqtlocation-mapboxgl-b6561dd342aac571e3a42bf057e1cbdd8d062b56.tar.gz
increase http timeout
-rw-r--r--common/foundation_request.mm2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/foundation_request.mm b/common/foundation_request.mm
index d188349462..ca32706bad 100644
--- a/common/foundation_request.mm
+++ b/common/foundation_request.mm
@@ -24,7 +24,7 @@ std::atomic<int> active_tasks;
void request_initialize_cb() {
NSURLSessionConfiguration *sessionConfig =
[NSURLSessionConfiguration defaultSessionConfiguration];
- sessionConfig.timeoutIntervalForResource = 6;
+ sessionConfig.timeoutIntervalForResource = 30;
sessionConfig.HTTPMaximumConnectionsPerHost = 8;
sessionConfig.requestCachePolicy = NSURLRequestUseProtocolCachePolicy;