1
0

feat: release payload disk cache, batched rip status for list, artwork 404, stricter input handling

This commit is contained in:
2026-08-29 18:44:08 +02:00
parent 39c956e67d
commit 56ffda9e88
10 changed files with 116 additions and 11 deletions

View File

@@ -9,8 +9,10 @@ import type { FastifyInstance } from 'fastify'
export function testConfig(): Config {
// artworkDir must be a real writable directory (cached images land there)
const artworkDir = mkdtempSync(path.join(tmpdir(), 'rs-art-'))
// dataDir must be a real writable directory (release-cache payloads land there)
const dataDir = mkdtempSync(path.join(tmpdir(), 'rs-data-'))
return {
dataDir: ':memory:',
dataDir,
artworkDir,
dbPath: ':memory:',
port: 0,