refactor(Queue): make bufferingTimeout 3 seconds

This commit is contained in:
DevAndromeda 2021-08-07 23:01:44 +05:45
parent a0e0306b21
commit a174c6b4aa
No known key found for this signature in database
GPG key ID: FA40E3EC5CB6DCD6
2 changed files with 2 additions and 2 deletions

View file

@ -103,7 +103,7 @@ class Queue<T = unknown> {
highWaterMark: 1 << 25
},
initialVolume: 100,
bufferingTimeout: 1000
bufferingTimeout: 3000
} as PlayerOptions,
options
);

View file

@ -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;