mirror of
https://github.com/ArchipelagoMW/Archipelago.git
synced 2026-09-19 22:54:32 -07: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 <[email protected]> * Update docs/webhost configuration sample.yaml --------- Co-authored-by: Fabian Dill <[email protected]>
This commit is contained in:
co-authored by
Fabian Dill
parent
0b3d34ab24
commit
4a5ba756b6
@@ -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