WebHost: Add deletion of old content to cleanup function (#6119)

---------

Co-authored-by: black-sliver <[email protected]>
This commit is contained in:
Fabian Dill
2026-05-01 22:38:46 +02:00
committed by GitHub
co-authored by black-sliver
parent 234b0581c9
commit a68109f5a7
4 changed files with 122 additions and 3 deletions
+2
View File
@@ -48,6 +48,8 @@ app.config["JOB_THRESHOLD"] = 1
app.config["JOB_TIME"] = 600
# maximum time in seconds since last activity for a room to be hosted
app.config["MAX_ROOM_TIMEOUT"] = 259200
# minimum time in days since last activity for a room to be deleted. 0 to disable.
app.config["ROOM_AUTO_DELETE"] = 0
# memory limit for generator processes in bytes
app.config["GENERATOR_MEMORY_LIMIT"] = 4294967296