szurubooru/doc
noirscape 82541536af Make waitress thread count configurable.
This should fix most scaling problems without needing to start
more server instances. By default, waitress maintains at most
4 threads. This works fine if the database is small (sub 100k posts)
but causes a large Task queue depth to occur if the database is larger.

Letting users increase the amount of threads means that one server instance
is able to handle more requests without locking up the rest of the site.

This adds a new environment variable to .env, THREADS, which can be used to
configure the amount of threads to start and is by default set to 4
(the default amount used by waitress).
2022-02-14 17:33:23 -05:00
..
developer-utils client+server: fix linter issues due to updated pre-commit hooks 2020-09-01 14:07:39 -04:00
API.md server/posts: store and provide MD5 checksums 2021-01-05 13:20:01 -05:00
example.env Make waitress thread count configurable. 2022-02-14 17:33:23 -05:00
INSTALL.md doc/install: fix typo 2020-09-01 11:06:59 -04:00
install.sh doc/install: applied formatting fixes to script 2020-12-19 16:32:29 -05:00