removed debug logging

This commit is contained in:
ston1th 2022-03-19 15:49:04 +01:00
commit 10512e5738
3 changed files with 36 additions and 44 deletions

View file

@ -39,10 +39,8 @@ func (q *Quota) cleanup() {
if !q.fs.mu.TryLock() {
return
}
q.log.Info("!q.fs.mu.TryLock()")
q.log.Info("quota usage", "current", q.cur, "max", q.max)
defer q.fs.mu.Unlock()
defer q.log.Info("q.fs.mu.Unlock()")
atime := int64(math.MaxInt64)
var m *Metadata
for _, v := range q.fs.md {