From a6e64fbf9404b201b04fbd1ab4b959a18d8f83a9 Mon Sep 17 00:00:00 2001 From: "Javier S. Pedro" Date: Mon, 1 Apr 2013 20:46:39 +0200 Subject: add support for actually reading topics --- global.h | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'global.h') diff --git a/global.h b/global.h index db9a3e6..e2b0329 100644 --- a/global.h +++ b/global.h @@ -15,9 +15,19 @@ /** Time we should consider other topics in a forum up to date, in seconds. */ #define FORUM_TOPICS_TLL 15 * 60 -/** Number of topics per "block" in the forum view */ +/** Number of topics per "block" in subforum view */ #define FORUM_PAGE_SIZE 20 +/** Time we should consider the most recent posts in a topic up to date, in seconds. */ +#define TOPIC_TOP_TLL 5 * 60 + +/** Time we should consider other posts in a topic up to date, in seconds. */ +#define TOPIC_POSTS_TLL 15 * 60 + +/** Number of posts per "block" in topic view */ +#define TOPIC_PAGE_SIZE 20 + + extern BoardManager *board_manager; #endif // GLOBAL_H -- cgit v1.2.3