Skip to content

Commit

Permalink
fix: remove ytdl cache timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
fent committed Aug 5, 2018
1 parent 537a9c8 commit 0ed7fd9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions bin/ytdl.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ const sanitizeName = require('sanitize-filename');
const label = chalk.bold.gray;


ytdl.cache.info.timeout = 0;
if (opts.cache !== false) {
// Keep cache in file.
const cachefile = path.resolve(homedir(), '.ytdl-cache.json');
Expand Down

0 comments on commit 0ed7fd9

Please sign in to comment.