aboutsummaryrefslogtreecommitdiffstats
path: root/boot.php
diff options
context:
space:
mode:
authorPaolo Tacconi <p.tacconi@giunti.it>2014-07-29 09:06:04 +0200
committerPaolo Tacconi <p.tacconi@giunti.it>2014-07-29 09:06:04 +0200
commit87f5544f1f41aa67b03ee6b8810e235a4ee909bd (patch)
tree8dfd88f073e42cdf8699c972b8a8df0004e08b76 /boot.php
parent7b8edeaead0672708ad4a77d15f43bb97430cfdd (diff)
downloadvolse-hubzilla-87f5544f1f41aa67b03ee6b8810e235a4ee909bd.tar.gz
volse-hubzilla-87f5544f1f41aa67b03ee6b8810e235a4ee909bd.tar.bz2
volse-hubzilla-87f5544f1f41aa67b03ee6b8810e235a4ee909bd.zip
Chatroom lines are deleted after MAX_CHATROOM_HOURS or the chat becomes slow to load
Diffstat (limited to 'boot.php')
-rwxr-xr-xboot.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/boot.php b/boot.php
index af395f30b..d5afbb855 100755
--- a/boot.php
+++ b/boot.php
@@ -358,6 +358,11 @@ define ( 'MAX_LIKERS', 10);
define ( 'ZCURL_TIMEOUT' , (-1));
+/**
+ * Hours before chat lines are deleted
+ */
+
+define ( 'MAX_CHATROOM_HOURS' , 36);
/**
* email notification options