translated all logs to english
This commit is contained in:
parent
e2e6f54ce6
commit
0e5da4c8aa
13 changed files with 277 additions and 90 deletions
|
|
@ -58,10 +58,10 @@ func (w *UploadPartGCWorker) runOnce(ctx context.Context) {
|
|||
}
|
||||
deleted, err := w.files.DeleteExpiredUploadParts(ctx, time.Now().Add(-w.ttl), w.batch)
|
||||
if err != nil {
|
||||
w.logger.Warn("清理过期 upload_parts 失败", zap.Error(err))
|
||||
w.logger.Warn("expired upload_parts cleanup failed", zap.Error(err))
|
||||
return
|
||||
}
|
||||
if deleted > 0 {
|
||||
w.logger.Info("清理过期 upload_parts 完成", zap.Int64("deleted", deleted))
|
||||
w.logger.Info("expired upload_parts cleanup complete", zap.Int64("deleted", deleted))
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue