summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gentoobrowse-api/service/maintenanceBugs.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/gentoobrowse-api/service/maintenanceBugs.cpp b/gentoobrowse-api/service/maintenanceBugs.cpp
index 73b5b63..9bb8a56 100644
--- a/gentoobrowse-api/service/maintenanceBugs.cpp
+++ b/gentoobrowse-api/service/maintenanceBugs.cpp
@@ -94,8 +94,9 @@ namespace Gentoo {
"buglist-UNCONFIRMED.html",
"buglist-IN_PROGRESS.html" }) {
log->messagectf<UpdatingBugUrl>(IceTray::Logging::LogLevel::DEBUG, bl);
- AdHoc::Net::CurlStreamSource css((root / bl).string());
+ AdHoc::Net::CurlStreamSource css(root / bl);
css.setopt(CURLOPT_ENCODING, "deflate, gzip");
+ css.setopt(CURLOPT_TIMEOUT, 20L);
AdHoc::Net::CurlStream cs(css);
blp.parse_stream(cs);
}