mirror of
https://github.com/azures04/crafatar.git
synced 2026-03-21 23:41:18 +01:00
log when cleaner has nothing to do
This commit is contained in:
parent
7e77142b29
commit
750d741308
@ -64,7 +64,7 @@ exp.run = function() {
|
|||||||
logging.warn("RedisCleaner: Redis limit reached! flushing now");
|
logging.warn("RedisCleaner: Redis limit reached! flushing now");
|
||||||
redis.flushall();
|
redis.flushall();
|
||||||
} else {
|
} else {
|
||||||
logging.debug("RedisCleaner: Nothing to clean");
|
logging.log("RedisCleaner: Nothing to clean");
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
@ -118,7 +118,7 @@ exp.run = function() {
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
logging.debug("DiskCleaner: Nothing to clean");
|
logging.log("DiskCleaner: Nothing to clean");
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user