diff options
author | Urban Müller | 2016-01-28 14:05:53 +0100 |
---|---|---|
committer | Urban Müller | 2016-01-28 14:05:53 +0100 |
commit | 1f0dd5e96e943a6b7be1ef6cfb6bbf69363ebf8c (patch) | |
tree | bb77d9d462d568a245b7526fc8f706c1cb548f46 /it_url.class | |
parent | 97c02e6168613c03dd0166331832a41a4142ff61 (diff) | |
download | itools-1f0dd5e96e943a6b7be1ef6cfb6bbf69363ebf8c.tar.gz itools-1f0dd5e96e943a6b7be1ef6cfb6bbf69363ebf8c.tar.bz2 itools-1f0dd5e96e943a6b7be1ef6cfb6bbf69363ebf8c.zip |
more throttling
Diffstat (limited to 'it_url.class')
-rw-r--r-- | it_url.class | 2 |
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')) |