summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUrban Müller2017-01-09 13:28:00 +0100
committerUrban Müller2017-01-09 13:28:00 +0100
commitb9f1fb203975fbf76a32a8a2dd8f9113fb136939 (patch)
treea3a2b57e8e93c588814478a0a66fe3a7b06b8943
parent1fc78bf4b304881b09ef24af40c1b1b494e2bde5 (diff)
downloaditools-b9f1fb203975fbf76a32a8a2dd8f9113fb136939.tar.gz
itools-b9f1fb203975fbf76a32a8a2dd8f9113fb136939.tar.bz2
itools-b9f1fb203975fbf76a32a8a2dd8f9113fb136939.zip
longer grace period for it_cache::put errors
-rw-r--r--it_cache.class2
1 files changed, 1 insertions, 1 deletions
diff --git a/it_cache.class b/it_cache.class
index e758734..2c67d87 100644
--- a/it_cache.class
+++ b/it_cache.class
@@ -86,7 +86,7 @@ static function put($key, $value, $p = array())
$success = ($func = self::$_store_func) ? $func($key, $value, $p['ttl']) : null;
if (!$success && $p['safety'] == 1)
- it::error(array('title' => ($p['distributed'] ? "memcache" : self::$_store_func) . " in it_cache::put failed for key '$key'", 'id' => "it_cache_put", 'graceperiod' => 60, 'timewindow' => 10));
+ it::error(array('title' => ($p['distributed'] ? "memcache" : self::$_store_func) . " in it_cache::put failed for key '$key'", 'id' => "it_cache_put", 'graceperiod' => 300, 'timewindow' => 10));
$GLOBALS['it_cache_local'][$key] = $value; # Also store local copy