... relax, take your time.

JavaScript has no Integers, only Numbers. Infinity is typeof Number
This commit is contained in:
jomo 2015-02-13 19:18:58 +01:00
parent 4d1f4466fd
commit 30c4ba200c

View File

@ -43,10 +43,9 @@ describe("Crafatar", function() {
before(function() { before(function() {
cache.get_redis().flushall(); cache.get_redis().flushall();
// largest possible integers, cause I don't know // cause I don't know how big hard drives are these days
// how big hard drives are these days config.cleaning_disk_limit = Infinity;
config.cleaning_disk_limit = Math.pow(2, 32) - 1; config.cleaning_redis_limit = Infinity;
config.cleaning_redis_limit = Math.pow(2, 32) - 1;
cleaner.run(); cleaner.run();
}); });