Cycle previews through the walk

This commit is contained in:
Fisto
2026-09-17 00:20:00 +02:00
parent 0664b54241
commit 0ba51e06ba
5 changed files with 86 additions and 3 deletions
+1
View File
@@ -174,6 +174,7 @@ export class MediaService {
rootDir: this.rootDir,
log: line => this.deps.log?.(line),
onError: (scrapeId, message) => this.recordError("scrape", `${scrapeId}: ${message}`),
walkCyclePages: number(process.env.VESKSLOP_MEDIA_WALK_CYCLE_PAGES, 5),
download: {
maxFileBytes: number(process.env.VESKSLOP_MEDIA_MAX_FILE_BYTES, 50 * 1024 * 1024),
previewMaxBytes: number(process.env.VESKSLOP_MEDIA_PREVIEW_MAX_BYTES, 5 * 1024 * 1024),