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:
Diffstat (limited to 'local_ads')
-rw-r--r--local_ads/statistics.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/local_ads/statistics.cpp b/local_ads/statistics.cpp
index f60782684c..629c99c4fe 100644
--- a/local_ads/statistics.cpp
+++ b/local_ads/statistics.cpp
@@ -356,6 +356,7 @@ void Statistics::SendToServer()
ASSERT(!bytes.empty(), ());
platform::HttpClient request(url);
+ request.SetTimeout(5); // timeout in seconds
#ifdef DEV_LOCAL_ADS_SERVER
request.LoadHeaders(true);
request.SetRawHeader("Host", "localads-statistics.maps.me");