From 11c77d07f616d274ebe20ea632b3d1b9f361cd4e Mon Sep 17 00:00:00 2001 From: Rhys Arkins <rhys@arkins.net> Date: Sat, 25 May 2019 19:57:25 +0200 Subject: [PATCH] fix(host-rules): massage timeout properly --- lib/util/got/host-rules.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/util/got/host-rules.js b/lib/util/got/host-rules.js index 9aef144cab..7fb990085c 100644 --- a/lib/util/got/host-rules.js +++ b/lib/util/got/host-rules.js @@ -25,7 +25,7 @@ module.exports = got.create({ opts.token = token; } if (timeout) { - opts.timeout = timeout; + opts.gotTimeout = { request: timeout }; } return next(opts); }, -- GitLab