Don't log memcache hits by default.

This commit is contained in:
Retro_Guy 2024-05-08 08:22:59 -07:00
parent 4864955e94
commit 7f20ff373c
1 changed files with 1 additions and 1 deletions

View File

@ -1830,7 +1830,7 @@ function np_get_db_article($article, $group, $makearray = 1, $dbh = null)
if ($msg2 = $memcacheD->get($article_key)) { if ($msg2 = $memcacheD->get($article_key)) {
$ok_article = 1; $ok_article = 1;
$memcache_ttl = 3600; $memcache_ttl = 3600;
file_put_contents($logdir . '/debug.log', "\n" . format_log_date() . " Found $article_key in memcache", FILE_APPEND); //file_put_contents($logdir . '/debug.log', "\n" . format_log_date() . " Found $article_key in memcache", FILE_APPEND);
} }
} }
if (! $ok_article) { if (! $ok_article) {