Skip to content

Commit

Permalink
added less progress printing
Browse files Browse the repository at this point in the history
  • Loading branch information
inlife committed Dec 12, 2024
1 parent 11a6be2 commit 8d364d4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/nexrender-action-decompress/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,9 @@ const decompress = (job, settings, asset, action) => {
})

myStream.on('progress', function (progress) {
if (settings.logger) settings.logger.log(`[action-decompress] Extracting ${progress.percent}%`);
if (progress.percent % 10 === 0) {
if (settings.logger) settings.logger.log(`[action-decompress] Extracting ${progress.percent}%`);
}
})

myStream.on('end', function () {
Expand Down

0 comments on commit 8d364d4

Please sign in to comment.