summaryrefslogtreecommitdiff
path: root/inc/config.php
diff options
context:
space:
mode:
Diffstat (limited to 'inc/config.php')
-rw-r--r--inc/config.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/inc/config.php b/inc/config.php
index cceaabe2..6df9a79f 100644
--- a/inc/config.php
+++ b/inc/config.php
@@ -56,6 +56,8 @@
// Experimental: cache entire thread HTML (for mods, since we already cache it with static HTML anyway)
// Increases load times for mods but might take up a bit of memory
$config['memcached']['cache_threads'] = false;
+ // Timeout for cached objects such as posts and HTML
+ $config['memcached']['timeout'] = 86400; // one day
// The name of the session cookie (PHP's $_SESSION)
$config['cookies']['session']= 'imgboard';