WebHost: make autolauncher max room timeout configurable

This commit is contained in:
Berserker
2026-03-11 10:06:51 +01:00
parent 3016379b85
commit 875c2003a4
2 changed files with 3 additions and 1 deletions

View File

@@ -46,6 +46,8 @@ app.config["SELFGEN"] = True # application process is in charge of scheduling G
app.config["JOB_THRESHOLD"] = 1
# after what time in seconds should generation be aborted, freeing the queue slot. Can be set to None to disable.
app.config["JOB_TIME"] = 600
# maximum time in seconds since last activity for a room to be hosted
app.config["MAX_ROOM_TIMEOUT"] = 259200
# memory limit for generator processes in bytes
app.config["GENERATOR_MEMORY_LIMIT"] = 4294967296