summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUrban Müller2018-01-30 17:49:15 +0100
committerUrban Müller2018-01-30 17:49:15 +0100
commit9411efad3e3394a095fa2b46c3217b345781b2bd (patch)
tree989abc222ca992cc74be8f2746de998b2ad17fde
parentf1ec3ab89375825baf7e39a00ff5f75cd3952791 (diff)
downloaditools-9411efad3e3394a095fa2b46c3217b345781b2bd.tar.gz
itools-9411efad3e3394a095fa2b46c3217b345781b2bd.tar.bz2
itools-9411efad3e3394a095fa2b46c3217b345781b2bd.zip
give enough time for an os upgrade
-rw-r--r--it_cache.class2
1 files changed, 1 insertions, 1 deletions
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