From dc7b61f5951d074ca9aada6c5dbd1c885cd12bab Mon Sep 17 00:00:00 2001 From: Urban Müller Date: Thu, 17 Oct 2013 16:24:47 +0000 Subject: only report multiple errors --- it_cache.class | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/it_cache.class b/it_cache.class index f4c7bfd..b895e26 100644 --- a/it_cache.class +++ b/it_cache.class @@ -83,7 +83,7 @@ static function put($key, $value, $p = array()) } if (!$success) - it::error(($p['distributed'] ? "memcache" : self::$_store_func) . " in it_cache::put failed for key '$key'"); + it::error(array('title' => ($p['distributed'] ? "memcache" : self::$_store_func) . " in it_cache::put failed for key '$key'", 'graceperiod' => 60, 'timewindow' => 10)); $GLOBALS['it_cache_local'][$key] = $value; # Also store local copy -- cgit v1.2.3