Skip to content

Commit

Permalink
Merge pull request #318 from pixlise/feature/impersonate-user
Browse files Browse the repository at this point in the history
Less verbose progress
  • Loading branch information
pnemere authored Sep 16, 2024
2 parents 75f6d6d + 1426e73 commit 91fdef9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion api/ws/handlers/system.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,9 @@ func clearBucket(bucket string, fs fileaccess.FileAccess, logger logger.ILogger)
logger.Infof("Clearing %v files from bucket: %v", len(files), bucket)

for c, file := range files {
logger.Infof("Clearing file %v of %v...", c, len(files))
if c%100 == 0 {
logger.Infof("Clearing file %v of %v...", c, len(files))
}

err = fs.DeleteObject(bucket, file)
if err != nil {
Expand Down

0 comments on commit 91fdef9

Please sign in to comment.