diff options
author | Urban Müller | 2018-01-30 17:49:15 +0100 |
---|---|---|
committer | Urban Müller | 2018-01-30 17:49:15 +0100 |
commit | 9411efad3e3394a095fa2b46c3217b345781b2bd (patch) | |
tree | 989abc222ca992cc74be8f2746de998b2ad17fde | |
parent | f1ec3ab89375825baf7e39a00ff5f75cd3952791 (diff) | |
download | itools-9411efad3e3394a095fa2b46c3217b345781b2bd.tar.gz itools-9411efad3e3394a095fa2b46c3217b345781b2bd.tar.bz2 itools-9411efad3e3394a095fa2b46c3217b345781b2bd.zip |
give enough time for an os upgrade
-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 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 |