diff options
| author | Savetheinternet <savetheinternet@tinyboard.org> | 2011-05-19 21:50:19 +1000 |
|---|---|---|
| committer | Savetheinternet <savetheinternet@tinyboard.org> | 2011-05-19 21:50:19 +1000 |
| commit | e60a6a1a582478d76893beec7408e7ea752c876c (patch) | |
| tree | 2e2ffd912f616eec0ff6f439567f271655c38626 /inc/functions.php | |
| parent | fcab256146bd9ef25028cf0e484360df841c1f8e (diff) | |
cache built posts' HTML with memcached
Diffstat (limited to 'inc/functions.php')
| -rw-r--r-- | inc/functions.php | 2 |
1 files changed, 1 insertions, 1 deletions
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) |
