From 29e8988c908af3d5f5878363de51b501de924d5f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A9o=20Lam?= Date: Sun, 18 Jun 2017 11:42:41 +0200 Subject: [PATCH] Analytics: Set the timeout to 5 seconds 3 seconds is sometimes not enough. --- Source/Core/Common/Analytics.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Source/Core/Common/Analytics.h b/Source/Core/Common/Analytics.h index 76fb8727c1..de87d21f1d 100644 --- a/Source/Core/Common/Analytics.h +++ b/Source/Core/Common/Analytics.h @@ -4,6 +4,7 @@ #pragma once +#include #include #include #include @@ -179,7 +180,7 @@ public: protected: std::string m_endpoint; - HttpRequest m_http; + HttpRequest m_http{std::chrono::seconds{5}}; }; } // namespace Common