Set timeout to 30 seconds
the build was successful Detalles

Este commit está contenido en:
tastytea 2018-08-19 21:41:35 +02:00
padre 3a44361bf7
commit 3808a89a13
Firmado por: tastytea
ID de clave GPG: CFC39497F1B26E07
Se han modificado 2 ficheros con 2 adiciones y 1 borrados

Ver fichero

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

Ver fichero

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