From ddd677e4fdef4544773f6f426b4853d494df615e Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Tue, 7 Sep 2021 08:33:51 +0200 Subject: [PATCH] Remove unused timeout option --- server/helpers/requests.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/server/helpers/requests.ts b/server/helpers/requests.ts index e09e23086..535478017 100644 --- a/server/helpers/requests.ts +++ b/server/helpers/requests.ts @@ -26,7 +26,6 @@ type PeerTubeRequestOptions = { key: string headers: string[] } - timeout?: number jsonResponse?: boolean } & Pick @@ -216,7 +215,6 @@ function buildGotOptions (options: PeerTubeRequestOptions) { dnsCache: true, json: options.json, searchParams: options.searchParams, - timeout: options.timeout ?? REQUEST_TIMEOUT, headers, context }