##// END OF EJS Templates
Added GET request handler, command for key generation. Changed KeyPair format for ecdsa (use to_string instead of to_pem because it's shorter)
Added GET request handler, command for key generation. Changed KeyPair format for ecdsa (use to_string instead of to_pem because it's shorter)

File last commit:

r834:cfa74d10 merge decentral
r836:9ee107b9 decentral
Show More
settings.py
20 lines | 615 B | text/x-python | PythonLexer
VERSION = '2.1 Aya'
SITE_NAME = 'n3b0a2d'
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'
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