Skip to content

Commit

Permalink
fix(Player): set query cache properly (#1721)
Browse files Browse the repository at this point in the history
  • Loading branch information
twlite authored Apr 19, 2023
1 parent 7630360 commit d28f4ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/discord-player/src/Player.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ export class Player extends PlayerEventsEmitter<PlayerEvents> {
connectionTimeout: 20000,
smoothVolume: true,
lagMonitor: 30000,
queryCache: options.queryCache === null ? null : new QueryCache(this),
queryCache: options.queryCache === null ? null : options.queryCache || new QueryCache(this),
...options,
ytdlOptions: {
highWaterMark: 1 << 25,
Expand Down

0 comments on commit d28f4ec

Please sign in to comment.