blob: db9a3e6388a2e30c05481e0be32e18228e2a684f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
#ifndef GLOBAL_H
#define GLOBAL_H
#include "boardmanager.h"
/** Time the forum config settings should be considered up to date, in days. */
#define BOARD_CONFIG_TTL 2
/** Time the list of forums should be considered up to date, in days. */
#define BOARD_LIST_TTL 2
/** Time we should consider the most recent topics in a forum up to date, in seconds. */
#define FORUM_TOP_TLL 5 * 60
/** 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 */
#define FORUM_PAGE_SIZE 20
extern BoardManager *board_manager;
#endif // GLOBAL_H
|