mirror of
https://github.com/renovatebot/renovate.git
synced 2025-01-12 06:56:24 +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,
|
retry: 5,
|
||||||
headers,
|
headers,
|
||||||
useCache,
|
useCache,
|
||||||
|
readableHighWaterMark: 1024 * 1024 * 10, // https://github.com/sindresorhus/got/issues/1062#issuecomment-586580036
|
||||||
};
|
};
|
||||||
const raw = await got(pkgUrl, opts);
|
const raw = await got(pkgUrl, opts);
|
||||||
// istanbul ignore if
|
// istanbul ignore if
|
||||||
|
|
|
@ -5,6 +5,7 @@ export interface Options {
|
||||||
hostType?: string;
|
hostType?: string;
|
||||||
search?: string;
|
search?: string;
|
||||||
useCache?: boolean;
|
useCache?: boolean;
|
||||||
|
readableHighWaterMark?: number;
|
||||||
}
|
}
|
||||||
|
|
||||||
export type GotJSONOptions = Options & got.GotJSONOptions;
|
export type GotJSONOptions = Options & got.GotJSONOptions;
|
||||||
|
|
Loading…
Reference in a new issue