Merge pull request #5641 from leoetlino/analytics-timeout
Analytics: Set the timeout to 5 seconds
This commit is contained in:
commit
b59eb76786
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue