Skip to content

Commit

Permalink
Should use debug for convert lock
Browse files Browse the repository at this point in the history
  • Loading branch information
n0vad3v committed Dec 29, 2023
1 parent 250e78c commit 4f6e9d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion encoder/encoder.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ func ConvertFilter(rawPath, avifPath, webpPath string, extraParams config.ExtraP

for {
if _, found := config.ConvertLock.Get(rawPath); found {
log.Infof("file %s is locked under conversion, retrying in %s", rawPath, retryDelay)
log.Debugf("file %s is locked under conversion, retrying in %s", rawPath, retryDelay)
time.Sleep(retryDelay)
} else {
// The lock is released, indicating that the conversion is complete
Expand Down

0 comments on commit 4f6e9d0

Please sign in to comment.