Set timeout to 30 seconds
the build was successful 详情

这个提交包含在:
tastytea 2018-08-19 21:41:35 +02:00
父节点 3a44361bf7
当前提交 3808a89a13
签署人:: tastytea
GPG 密钥 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
{