Update size_enforcer.go

This commit is contained in:
RamiBerm 2021-07-13 16:43:26 +03:00
parent 4a053734d9
commit bd71e9a122

View File

@ -76,7 +76,6 @@ func checkFileSize(maxSizeBytes int64) {
if err != nil {
fmt.Printf("Error checking %s file size: %v\n", DBPath, err)
} else {
fmt.Printf("Checking if %s is > %s", shared.BytesToHumanReadable(fileStat.Size()), shared.BytesToHumanReadable(maxSizeBytes))
if fileStat.Size() > maxSizeBytes {
pruneOldEntries(fileStat.Size())
}