add back highwatermark

This commit is contained in:
Lukáš H 2020-06-06 10:24:35 +02:00
parent 07c9972ce0
commit a155b7dde7
No known key found for this signature in database
GPG key ID: 52AED802C323B705

View file

@ -213,7 +213,7 @@ exports.play = async function (client, message, query, playNext, ignoreQueue) {
}, 5000); }, 5000);
console.log('[MUSIC DEBUG] await ytdl'); console.log('[MUSIC DEBUG] await ytdl');
y = await ytdl(link); y = await ytdl(link, { highWaterMark: 1024 * 1024 * 32 });
console.log('[MUSIC DEBUG] got ytdl'); console.log('[MUSIC DEBUG] got ytdl');
console.log('[MUSIC DEBUG] connection.play'); console.log('[MUSIC DEBUG] connection.play');