Remove unused code

This commit is contained in:
nxshock 2024-07-10 16:16:02 +05:00
parent 456880bbe7
commit c2cbf59793

View File

@ -11,7 +11,7 @@ import (
func removeOldFilesThread(path string, olderThan time.Duration) { func removeOldFilesThread(path string, olderThan time.Duration) {
ticker := time.NewTicker(time.Hour) ticker := time.NewTicker(time.Hour)
for _ = range ticker.C { for range ticker.C {
log.Debugln("Removing old files...") log.Debugln("Removing old files...")
err := removeOldFiles(path, olderThan) err := removeOldFiles(path, olderThan)
if err != nil { if err != nil {