diff options
author | Urban Müller | 2013-10-17 16:24:47 +0000 |
---|---|---|
committer | Urban Müller | 2013-10-17 16:24:47 +0000 |
commit | dc7b61f5951d074ca9aada6c5dbd1c885cd12bab (patch) | |
tree | e05c26f8bf27c27e87498fe326bb1891944cc9d8 /it_cache.class | |
parent | 510d405956cb577423c7923e6c103d61d4d22179 (diff) | |
download | itools-dc7b61f5951d074ca9aada6c5dbd1c885cd12bab.tar.gz itools-dc7b61f5951d074ca9aada6c5dbd1c885cd12bab.tar.bz2 itools-dc7b61f5951d074ca9aada6c5dbd1c885cd12bab.zip |
only report multiple errors
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 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 |