Skip to content

Commit

Permalink
Reduce spam in logs when worker is not yet initialized
Browse files Browse the repository at this point in the history
  • Loading branch information
JustAMan committed Apr 27, 2020
1 parent 7eefe74 commit 595d0e2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/subtitles-octopus.js
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,9 @@ var SubtitlesOctopus = function (options) {
iteration: self.oneshotState.iteration
});
} else {
console.info('worker busy, requesting to seek');
if (self.workerActive) {
console.info('worker busy, requesting to seek');
}
self.oneshotState.requestNextTimestamp = lastRendered;
}
}
Expand Down

0 comments on commit 595d0e2

Please sign in to comment.