From 9411efad3e3394a095fa2b46c3217b345781b2bd Mon Sep 17 00:00:00 2001 From: Urban Müller Date: Tue, 30 Jan 2018 17:49:15 +0100 Subject: give enough time for an os upgrade --- it_cache.class | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/it_cache.class b/it_cache.class index 225e99f..08bc8a5 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(['title' => ($p['distributed'] ? "memcache (" . ($memcache ? ($memcache->getResultMessage() . " on " . $memcache->getServerByKey($key)['host']) : "n/a") . ")" : self::$_store_func) . " in it_cache::put failed for key '$key'", 'timewindow' => "900-920"]); + it::error(['title' => ($p['distributed'] ? "memcache (" . ($memcache ? ($memcache->getResultMessage() . " on " . $memcache->getServerByKey($key)['host']) : "n/a") . ")" : self::$_store_func) . " in it_cache::put failed for key '$key'", 'timewindow' => "1200-1220"]); $GLOBALS['it_cache_local'][$key] = $value; # Also store local copy -- cgit v1.2.3