Skip to content

Commit

Permalink
Fix the timeout to be what's documented (#8)
Browse files Browse the repository at this point in the history
  • Loading branch information
karaggeorge authored and sindresorhus committed Jul 8, 2019
1 parent ef5cd98 commit e09011c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Expand Up @@ -110,7 +110,7 @@ class Aperture {
this.recorder.kill();
delete this.recorder;
reject(err);
}, 10000);
}, 5000);

this.recorder.catch(error => {
clearTimeout(timeout);
Expand Down

0 comments on commit e09011c

Please sign in to comment.