Merge pull request #5641 from leoetlino/analytics-timeout

Analytics: Set the timeout to 5 seconds
This commit is contained in:
shuffle2 2017-06-18 16:33:18 -07:00 committed by GitHub
commit b59eb76786
1 changed files with 2 additions and 1 deletions

View File

@ -4,6 +4,7 @@
#pragma once #pragma once
#include <chrono>
#include <memory> #include <memory>
#include <mutex> #include <mutex>
#include <string> #include <string>
@ -179,7 +180,7 @@ public:
protected: protected:
std::string m_endpoint; std::string m_endpoint;
HttpRequest m_http; HttpRequest m_http{std::chrono::seconds{5}};
}; };
} // namespace Common } // namespace Common