Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorr.kuznetsov <r.kuznetsov@corp.mail.ru>2019-09-27 15:43:36 +0300
committerArsentiy Milchakov <milcars@mapswithme.com>2019-09-27 15:45:21 +0300
commitbc71b891f3666bbbb12a321351b6253a6eaf0f42 (patch)
tree378150e7927bf971702a7b2e65881362a585404b
parentb33b60ee28e80092aa7de062392b03d34f161e98 (diff)
[iOS] Fixed upload timeoutandroid-940
-rw-r--r--platform/http_uploader_apple.mm2
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/http_uploader_apple.mm b/platform/http_uploader_apple.mm
index 72032dd3ce..9dbf5e8f59 100644
--- a/platform/http_uploader_apple.mm
+++ b/platform/http_uploader_apple.mm
@@ -85,7 +85,7 @@
- (void)uploadWithCompletion:(void (^)(NSInteger httpCode, NSString *description))completion {
NSURL * url = [NSURL URLWithString:self.urlString];
NSMutableURLRequest * uploadRequest = [NSMutableURLRequest requestWithURL:url];
- uploadRequest.timeoutInterval = 5;
+ uploadRequest.timeoutInterval = 15;
uploadRequest.HTTPMethod = self.method;
NSString * boundary = [NSString stringWithFormat:@"Boundary-%@", [[NSUUID UUID] UUIDString]];