Set timeout to 30 seconds
the build was successful
Details
the build was successful
Details
This commit is contained in:
parent
3a44361bf7
commit
3808a89a13
|
@ -1,6 +1,6 @@
|
||||||
cmake_minimum_required (VERSION 3.7)
|
cmake_minimum_required (VERSION 3.7)
|
||||||
project (expandurl-mastodon
|
project (expandurl-mastodon
|
||||||
VERSION 0.9.11
|
VERSION 0.9.12
|
||||||
LANGUAGES CXX
|
LANGUAGES CXX
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -65,6 +65,7 @@ const string expand(const string &url)
|
||||||
"Connection: close",
|
"Connection: close",
|
||||||
});
|
});
|
||||||
request.setOpt<curlopts::FollowLocation>(true);
|
request.setOpt<curlopts::FollowLocation>(true);
|
||||||
|
request.setOpt(curlopts::Timeout(30));
|
||||||
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue