Set timeout to 30 seconds
the build was successful Details

This commit is contained in:
tastytea 2018-08-19 21:41:35 +02:00
parent 3a44361bf7
commit 3808a89a13
Signed by: tastytea
GPG Key ID: CFC39497F1B26E07
2 changed files with 2 additions and 1 deletions

View File

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

View File

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