1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-05-11 09:24:38 +00:00
seahub/scripts/seahub.conf

17 lines
374 B
Plaintext
Raw Normal View History

2021-12-03 07:35:16 +00:00
import os
daemon = True
2021-12-03 08:53:27 +00:00
workers = 3
threads = 5
2021-12-03 07:35:16 +00:00
# Logging
runtime_dir = os.path.dirname(__file__)
pidfile = os.path.join(runtime_dir, 'seahub.pid')
errorlog = os.path.join(runtime_dir, 'error.log')
# disable access log
#accesslog = os.path.join(runtime_dir, 'access.log')
# for file upload, we need a longer timeout value (default is only 30s, too short)
timeout = 1200