Set timeout to 30 seconds
the build was successful Details

This commit is contained in:
tastytea 2018-08-19 21:41:35 +02:00
父節點 3a44361bf7
當前提交 3808a89a13
簽署人: tastytea
GPG Key ID: CFC39497F1B26E07
共有 2 個文件被更改,包括 2 次插入1 次删除

查看文件

@ -1,6 +1,6 @@
cmake_minimum_required (VERSION 3.7)
project (expandurl-mastodon
VERSION 0.9.11
VERSION 0.9.12
LANGUAGES CXX
)

查看文件

@ -65,6 +65,7 @@ const string expand(const string &url)
"Connection: close",
});
request.setOpt<curlopts::FollowLocation>(true);
request.setOpt(curlopts::Timeout(30));
try
{