update tss and sre replay area (#1269)
This commit is contained in:
@@ -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
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user