diff options
| author | Urban Müller | 2025-10-23 14:39:47 +0200 |
|---|---|---|
| committer | Urban Müller | 2025-10-23 14:39:47 +0200 |
| commit | 8411862c98f7344bd8340ee5d8b45d2354555967 (patch) | |
| tree | 635f9c95e7276ad053f40f78490ec56b3f322bee | |
| parent | d110521779d52e765248e6c287f6d32f65939ecb (diff) | |
| download | itools-8411862c98f7344bd8340ee5d8b45d2354555967.tar.gz itools-8411862c98f7344bd8340ee5d8b45d2354555967.tar.bz2 itools-8411862c98f7344bd8340ee5d8b45d2354555967.zip | |
report size of data failed to insert
| -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 62c151d..4490163 100644 --- a/it_cache.class +++ b/it_cache.class @@ -86,7 +86,7 @@ static function put($key, $value, $p = array()) if ($memsuccess === false && $p['safety'] == 1) 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'", + 'body' => "key='$key', value size=" . strlen($value), '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, |