fix: improved server side cleanup after ingest (#477)

This commit is contained in:
Romain Courtois 2025-07-31 01:21:05 +02:00 committed by GitHub
parent d1f8a80826
commit 2df0eb4398
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 21 additions and 126 deletions

View file

@ -7,7 +7,6 @@ from pathlib import Path
from fastapi.templating import Jinja2Templates
MAX_DISPLAY_SIZE: int = 300_000
DELETE_REPO_AFTER: int = 60 * 60 # In seconds (1 hour)
# Slider configuration (if updated, update the logSliderToSize function in src/static/js/utils.js)
DEFAULT_FILE_SIZE_KB: int = 5 * 1024 # 5 mb