diff options
Diffstat (limited to 'local_ads')
-rw-r--r-- | local_ads/statistics.cpp | 1 |
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"); |