##// END OF EJS Templates
If we are over https, use old plain periodic thread update instead of...
If we are over https, use old plain periodic thread update instead of websockets

File last commit:

r1122:2ec94187 default
r1146:3a63bd27 default
Show More
default_settings.py
23 lines | 694 B | text/x-python | PythonLexer
VERSION = '2.6.1 Cooper'
SITE_NAME = 'Neboard'
CACHE_TIMEOUT = 600 # Timeout for caching, if cache is used
LOGIN_TIMEOUT = 3600 # Timeout between login tries
MAX_TEXT_LENGTH = 30000 # Max post length in characters
MAX_IMAGE_SIZE = 8 * 1024 * 1024 # Max image size
# Thread bumplimit
MAX_POSTS_PER_THREAD = 10
# Old posts will be archived or deleted if this value is reached
MAX_THREAD_COUNT = 5
THREADS_PER_PAGE = 3
DEFAULT_THEME = 'md'
DEFAULT_IMAGE_VIEWER = 'simple'
LAST_REPLIES_COUNT = 3
# Enable archiving threads instead of deletion when the thread limit is reached
ARCHIVE_THREADS = True
# Limit posting speed
LIMIT_POSTING_SPEED = False
# Thread update
WEBSOCKETS_ENABLED = True