Skip to content

ActivityPub-federated video streaming platform using P2P directly in your web browser

Remove unused timeout option

Chocobozzzddd677e4fdef
diff --git a/server/helpers/requests.ts b/server/helpers/requests.ts
index e09e230863..5354780170 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<GotOptions, 'headers' | 'json' | 'method' | 'searchParams'>
@@ -216,7 +215,6 @@ function buildGotOptions (options: PeerTubeRequestOptions) {
dnsCache: true,
json: options.json,
searchParams: options.searchParams,
- timeout: options.timeout ?? REQUEST_TIMEOUT,
headers,
context
}