diff options
| author | Urban Müller | 2026-02-23 16:23:22 +0100 |
|---|---|---|
| committer | Urban Müller | 2026-02-23 16:23:22 +0100 |
| commit | 319f896c284ae1b0da2808b279eb2ac9265e8365 (patch) | |
| tree | 7bf4205fdfc11d00c883e5b2c9a0e93ee66ab18a /it_cache.class | |
| parent | 8e19498848400210624545694f3597754dd8ae30 (diff) | |
| download | itools-319f896c284ae1b0da2808b279eb2ac9265e8365.tar.gz itools-319f896c284ae1b0da2808b279eb2ac9265e8365.tar.bz2 itools-319f896c284ae1b0da2808b279eb2ac9265e8365.zip | |
only filter unavoidable SERVER HAS FAILED with timeout, we want to see e.g. A BAD KEY WAS PROVIDED
Diffstat (limited to 'it_cache.class')
| -rw-r--r-- | it_cache.class | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/it_cache.class b/it_cache.class index fa78a79..037e7b6 100644 --- a/it_cache.class +++ b/it_cache.class @@ -88,7 +88,7 @@ static function put($key, $value, $p = array()) 'title' => ($p['distributed'] ? "memcache (" . ($memcache ? ($memcache->getResultMessage() . " on " . $memcache->getServerByKey($key)['host']) : "n/a") . ")" : self::$_store_func) . " in it_cache::put failed", 'body' => "key='$key', value size=" . strlen(json_encode($value)), 'id' => $p['distributed'] ? "it_cache_fail_" . $memcache->getServerByKey($key)['host'] : "it_cache_fail", - 'timewindow' => "1200-1300", + 'timewindow' => $memcache && it::match('SERVER HAS FAILED', $memcache->getResultMessage()) ? "1200-1300" : null, 'blockmailid' => $memcache ? "memcache_on_" . $memcache->getServerByKey($key)['host'] : null, 'blockmail' => $memcache? 12*3600 : null, ])); |