From eab96b2d6e2cc980ab722d51ec58cdf88baaf7a2 Mon Sep 17 00:00:00 2001
From: Rhys Arkins <rhys@arkins.net>
Date: Thu, 12 Mar 2020 20:24:37 +0100
Subject: [PATCH] fix: remove high water mark setting

---
 lib/datasource/npm/get.ts | 1 -
 lib/util/got/common.ts    | 1 -
 2 files changed, 2 deletions(-)

diff --git a/lib/datasource/npm/get.ts b/lib/datasource/npm/get.ts
index 0de15ee98b..ade5f9d2cd 100644
--- a/lib/datasource/npm/get.ts
+++ b/lib/datasource/npm/get.ts
@@ -113,7 +113,6 @@ 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
diff --git a/lib/util/got/common.ts b/lib/util/got/common.ts
index 579c9a88ed..1d881e8511 100644
--- a/lib/util/got/common.ts
+++ b/lib/util/got/common.ts
@@ -5,7 +5,6 @@ export interface Options {
   hostType?: string;
   search?: string;
   useCache?: boolean;
-  readableHighWaterMark?: number;
 }
 
 export type GotJSONOptions = Options & got.GotJSONOptions;
-- 
GitLab