diff options
| author | shuffle2 <godisgovernment@gmail.com> | 2017-06-18 16:33:18 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-06-18 16:33:18 -0700 |
| commit | b59eb76786749eb595f5de78af5d401fccda625c (patch) | |
| tree | 17dfe271d2225ba3c5b13e3b7218ac6589156bc5 /Source/Core/Common | |
| parent | 4d1020da1d68cd094c5206b5964be7a2a9c68384 (diff) | |
| parent | 29e8988c908af3d5f5878363de51b501de924d5f (diff) | |
Merge pull request #5641 from leoetlino/analytics-timeout
Analytics: Set the timeout to 5 seconds
Diffstat (limited to 'Source/Core/Common')
| -rw-r--r-- | Source/Core/Common/Analytics.h | 3 |
1 files changed, 2 insertions, 1 deletions
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 <chrono> #include <memory> #include <mutex> #include <string> @@ -179,7 +180,7 @@ public: protected: std::string m_endpoint; - HttpRequest m_http; + HttpRequest m_http{std::chrono::seconds{5}}; }; } // namespace Common |
