mirror of
https://github.com/renovatebot/renovate.git
synced 2025-01-11 22:46:27 +00:00
fix(npm): increase highWaterMark
This commit is contained in:
parent
64de057cc1
commit
8598c5edea
2 changed files with 2 additions and 0 deletions
|
@ -113,6 +113,7 @@ export async function getDependency(
|
|||
retry: 5,
|
||||
headers,
|
||||
useCache,
|
||||
readableHighWaterMark: 1024 * 1024 * 10, // https://github.com/sindresorhus/got/issues/1062#issuecomment-586580036
|
||||
};
|
||||
const raw = await got(pkgUrl, opts);
|
||||
// istanbul ignore if
|
||||
|
|
|
@ -5,6 +5,7 @@ export interface Options {
|
|||
hostType?: string;
|
||||
search?: string;
|
||||
useCache?: boolean;
|
||||
readableHighWaterMark?: number;
|
||||
}
|
||||
|
||||
export type GotJSONOptions = Options & got.GotJSONOptions;
|
||||
|
|
Loading…
Reference in a new issue