mirror of
https://github.com/MarioSpore/Grinch-AP.git
synced 2025-10-21 20:21:32 -06:00
WebHost: Set Generator memory limit to 4GiB (#4319)
* WebHost: Set Generator memory limit to 4GiB * WebHost: make generator memory limit configurable, better naming * Update WebHostLib/__init__.py Co-authored-by: Fabian Dill <Berserker66@users.noreply.github.com> * Update docs/webhost configuration sample.yaml --------- Co-authored-by: Fabian Dill <Berserker66@users.noreply.github.com>
This commit is contained in:
@@ -27,8 +27,14 @@
|
||||
# If you wish to deploy, uncomment the following line and set it to something not easily guessable.
|
||||
# SECRET_KEY: "Your secret key here"
|
||||
|
||||
# TODO
|
||||
#JOB_THRESHOLD: 2
|
||||
# Slot limit to post a generation to Generator process pool instead of rolling directly in WebHost process
|
||||
#JOB_THRESHOLD: 1
|
||||
|
||||
# After what time in seconds should generation be aborted, freeing the queue slot. Can be set to None to disable.
|
||||
#JOB_TIME: 600
|
||||
|
||||
# Memory limit for Generator processes in bytes, -1 for unlimited. Currently only works on Linux.
|
||||
#GENERATOR_MEMORY_LIMIT: 4294967296
|
||||
|
||||
# waitress uses one thread for I/O, these are for processing of view that get sent
|
||||
#WAITRESS_THREADS: 10
|
||||
|
Reference in New Issue
Block a user