From 1f0dd5e96e943a6b7be1ef6cfb6bbf69363ebf8c Mon Sep 17 00:00:00 2001 From: Urban Müller Date: Thu, 28 Jan 2016 14:05:53 +0100 Subject: more throttling --- it_url.class | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'it_url.class') diff --git a/it_url.class b/it_url.class index d27a809..e93fcac 100644 --- a/it_url.class +++ b/it_url.class @@ -649,7 +649,7 @@ function get_cache($p = array()) { touch($p['cachedir'] . "/cleaned"); $maxagemin = intval($p['maxage']/60); - exec("nohup bash -c 'cd {$p['cachedir']} && for i in ??; do sleep 2; find \$i -mmin +$maxagemin | xargs -r rm; done' /dev/null 2>&1 &"); + exec("nohup bash -c 'cd {$p['cachedir']} && for i in ??; do sleep 20; find \$i -mmin +$maxagemin | xargs -r rm; done' /dev/null 2>&1 &"); } if (EDC('getcachelog')) -- cgit v1.2.3