Analytics: Set the timeout to 5 seconds

3 seconds is sometimes not enough.
This commit is contained in:
Léo Lam 2017-06-18 11:42:41 +02:00
parent 9a1503a75c
commit 29e8988c90
1 changed files with 2 additions and 1 deletions

View File

@ -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