From a174c6b4aa621ad1fe79be14d184e26a6e762d3c Mon Sep 17 00:00:00 2001 From: DevAndromeda <46562212+DevAndromeda@users.noreply.github.com> Date: Sat, 7 Aug 2021 23:01:44 +0545 Subject: [PATCH] refactor(Queue): make bufferingTimeout 3 seconds --- src/Structures/Queue.ts | 2 +- src/types/types.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Structures/Queue.ts b/src/Structures/Queue.ts index 03c672c..9aad94f 100644 --- a/src/Structures/Queue.ts +++ b/src/Structures/Queue.ts @@ -103,7 +103,7 @@ class Queue { highWaterMark: 1 << 25 }, initialVolume: 100, - bufferingTimeout: 1000 + bufferingTimeout: 3000 } as PlayerOptions, options ); diff --git a/src/types/types.ts b/src/types/types.ts index b40c101..8a21666 100644 --- a/src/types/types.ts +++ b/src/types/types.ts @@ -127,7 +127,7 @@ export interface PlayerProgressbarOptions { * @property {boolean} [autoSelfDeaf=true] If it should set the bot in deaf mode * @property {YTDLDownloadOptions} [ytdlOptions={}] The youtube download options * @property {number} [initialVolume=100] The initial player volume - * @property {number} [bufferingTimeout=1000] Buffering timeout for the stream + * @property {number} [bufferingTimeout=3000] Buffering timeout for the stream */ export interface PlayerOptions { leaveOnEnd?: boolean;