From e60a6a1a582478d76893beec7408e7ea752c876c Mon Sep 17 00:00:00 2001 From: Savetheinternet Date: Thu, 19 May 2011 21:50:19 +1000 Subject: cache built posts' HTML with memcached --- inc/functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'inc/functions.php') diff --git a/inc/functions.php b/inc/functions.php index ae23a5ef..b0d97dc4 100644 --- a/inc/functions.php +++ b/inc/functions.php @@ -1258,7 +1258,7 @@ )); if($config['memcached']['cache_threads'] && $config['memcached']['enabled']) { - $memcached->set('thread_' . $board['uri'] . '_' . $id, $body, time() + 86400); + $memcached->set('thread_' . $board['uri'] . '_' . $id, $body, time() + $config['memcached']['timeout']); } if($return) -- cgit v1.3