Log warning on very large cachesize config, instead of truncating it.

This commit is contained in:
Simon Kelley committed 2018-05-11 23:38:23 +01:00
1 parent 0a496f059c
commit 1f1873aadd
2 files changed
+5 -3

No files matched your search

-2
View File
@@ -2603,8 +2603,6 @@ static int one_opt(int option, char *arg, char *errstr, char *gen_err, int comma
if (size < 0)
size = 0;
else if (size > 10000)
size = 10000;
daemon->cachesize = size;
}