mirror of
https://github.com/renovatebot/renovate.git
synced 2025-01-12 15:06:27 +00:00
fix(host-rules): massage timeout properly
This commit is contained in:
parent
06cb50cf10
commit
11c77d07f6
1 changed files with 1 additions and 1 deletions
|
@ -25,7 +25,7 @@ module.exports = got.create({
|
||||||
opts.token = token;
|
opts.token = token;
|
||||||
}
|
}
|
||||||
if (timeout) {
|
if (timeout) {
|
||||||
opts.timeout = timeout;
|
opts.gotTimeout = { request: timeout };
|
||||||
}
|
}
|
||||||
return next(opts);
|
return next(opts);
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue