update tss and sre replay area (#1269)

This commit is contained in:
NotSoToothless
2026-05-25 21:24:56 -07:00
committed by GitHub
parent c4693e498c
commit 8760c63759
3 changed files with 124 additions and 2 deletions
+1 -1
View File
@@ -283,7 +283,7 @@ async def cleanup_WL() -> None:
async def cleanup_replays():
"""
Cleans up replay directories in STORAGE/REPLAYS/:
Cleans up replay directories in STORAGE/REPLAYS/SRE/:
- After 12 hours: deletes regenerable files (PNGs, MP4s)
- After 48 hours: deletes entire directory (replay JSON included)
+1 -1
View File
@@ -68,7 +68,7 @@ ICONS_DIR = SHARED_DIR / "ICONS"
CACHE_DIR = STORAGE_DIR / "CACHE"
AUTH_DIR = STORAGE_DIR / "AUTH"
STACKS_DIR = STORAGE_DIR / "STACKS"
REPLAYS_DIR = STORAGE_DIR / "REPLAYS"
REPLAYS_DIR = STORAGE_DIR / "REPLAYS" / "SRE"
STORAGE_DIR.mkdir(parents=True, exist_ok=True)
# Databases