summaryrefslogtreecommitdiff
path: root/it_url.class
diff options
context:
space:
mode:
Diffstat (limited to 'it_url.class')
-rw-r--r--it_url.class2
1 files changed, 1 insertions, 1 deletions
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 >/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 >/dev/null 2>&1 &");
}
if (EDC('getcachelog'))