Config for CheryPy Thread Pool Size

In some instances, a static thread pool size of 10 is too small.
Provide a way to modify this via the config.
This commit is contained in:
Paul Saab 2021-04-30 19:51:01 -07:00
parent b87bd1dab2
commit 5becbd91d4
2 changed files with 3 additions and 1 deletions

View file

@ -137,6 +137,7 @@ _CONFIG_DEFINITIONS = {
'HTTP_RATE_LIMIT_ATTEMPTS': (int, 'General', 10),
'HTTP_RATE_LIMIT_ATTEMPTS_INTERVAL': (int, 'General', 300),
'HTTP_RATE_LIMIT_LOCKOUT_TIME': (int, 'General', 300),
'HTTP_THREAD_POOL': (int, 'General', 10),
'INTERFACE': (str, 'General', 'default'),
'IMGUR_CLIENT_ID': (str, 'Monitoring', ''),
'JOURNAL_MODE': (str, 'Advanced', 'WAL'),