added gifs scan at start

This commit is contained in:
onysd 2026-08-07 11:02:05 +03:00
parent 15f2d6e925
commit 4ac94f00de
10 changed files with 224 additions and 11 deletions

View file

@ -404,6 +404,12 @@ TELESRV_STICKER_SEED_DIR=data/sticker-seed
TELESRV_STICKER_SEED_MAX_SETS=300
# Sticker set auto-installed for every newly registered account; <=0 disables this.
TELESRV_DEFAULT_STICKER_SET_ID=0
# Drop plain .gif/.mp4 files here and they're imported into the admin-curated
# GIF catalog on startup (@gif serves it in the client's GIF picker) -- no
# export manifest needed, unlike TELESRV_STICKER_SEED_DIR above. Each file is
# imported once (matched by filename); renaming a file re-imports it as a new
# entry. Missing directory is skipped, not an error.
TELESRV_GIF_SEED_DIR=data/gifs
# Storage low-space guard thresholds (master toggle is TELESRV_STORAGE_LOW_SPACE_GUARD_ENABLE above).
# localfs: reject new uploads once real free disk bytes fall below this; <=0 disables.