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
Cherry-picked from: jellyfin@595d0e2
  • Loading branch information
JustAMan authored and dmitrylyzo committed Oct 6, 2021
1 parent 643b1c7 commit f54f72a
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 @@ -335,7 +335,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 f54f72a

Please sign in to comment.