diff options
author | Urban Müller | 2007-01-17 19:05:11 +0000 |
---|---|---|
committer | Urban Müller | 2007-01-17 19:05:11 +0000 |
commit | 25778ef80fedaefaf16cea3a75dc554cfe7e2376 (patch) | |
tree | a89fb58846913c48ebcfb6c53455c06ee6b6139b /url.class | |
parent | ce579f09143160e84aba768bc38054d09a11063f (diff) | |
download | itools-25778ef80fedaefaf16cea3a75dc554cfe7e2376.tar.gz itools-25778ef80fedaefaf16cea3a75dc554cfe7e2376.tar.bz2 itools-25778ef80fedaefaf16cea3a75dc554cfe7e2376.zip |
it::error: fewer alerts, better performance
Diffstat (limited to 'url.class')
-rw-r--r-- | url.class | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -363,7 +363,7 @@ function get_cache($p = array()) if (($parts = parse_url($p['url'])) === false) it::error('malformed url ' . $p['url']); if ($p['safety'] == 1) - it::error(array('title'=>"get_cache: download failures on $path", 'ok_key'=>md5($parts['host']), 'ok_delay'=>$p['maxage'], 'ok'=>$result ? 1 : 0)); # send err only if multi failure + it::error(array('title'=>"get_cache: download failures on {$p['url']}", 'ok_key'=>"ok_".$parts['host'], 'ok'=>$result ? 1 : 0)); # send err only if multi failure @unlink("$path.lock"); } |