summaryrefslogtreecommitdiff
path: root/it_url.class
diff options
context:
space:
mode:
authorUrban Müller2016-01-28 14:05:53 +0100
committerUrban Müller2016-01-28 14:05:53 +0100
commit1f0dd5e96e943a6b7be1ef6cfb6bbf69363ebf8c (patch)
treebb77d9d462d568a245b7526fc8f706c1cb548f46 /it_url.class
parent97c02e6168613c03dd0166331832a41a4142ff61 (diff)
downloaditools-1f0dd5e96e943a6b7be1ef6cfb6bbf69363ebf8c.tar.gz
itools-1f0dd5e96e943a6b7be1ef6cfb6bbf69363ebf8c.tar.bz2
itools-1f0dd5e96e943a6b7be1ef6cfb6bbf69363ebf8c.zip
more throttling
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'))