summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--it_cache.class3
1 files changed, 2 insertions, 1 deletions
diff --git a/it_cache.class b/it_cache.class
index bed0cd9..da5114f 100644
--- a/it_cache.class
+++ b/it_cache.class
@@ -89,7 +89,8 @@ static function put($key, $value, $p = array())
it::error(array_filter([
'title' => ($p['distributed'] ? "memcache (" . ($memcache ? ($memcache->getResultMessage() . " on " . $memcache->getServerByKey($key)['host']) : "n/a") . ")" : self::$_store_func) . " in it_cache::put failed",
'body' => "key='$key'",
- 'timewindow' => "1200-1220",
+ 'id' => $p['distributed'] ? "it_cache_fail_" . $memcache->getServerByKey($key)['host'] : "it_cache_fail",
+ 'timewindow' => "1200-1300",
'blockmailid' => $memcache ? "memcache_on_" . $memcache->getServerByKey($key)['host'] : null,
'blockmail' => $memcache? 12*3600 : null,
]));