perf: use local volume for Pinchflat downloads instead of WebDAV

The HiDrive WebDAV mount was causing severe performance issues:
- High latency for directory listings and file checks
- Slow UI page loads (multi-second delays)
- Database query idle times of 600-1600ms

Changed to use local Docker volume for /downloads, which provides:
- Fast filesystem operations
- Responsive UI
- No database connection delays

Note: Downloads are now stored locally. Set up rsync/rclone
to sync to HiDrive if remote storage is needed.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
2025-11-20 15:33:24 +01:00
parent 92c3125773
commit 5f2fb12436

View File

@@ -70,10 +70,9 @@ services:
restart: unless-stopped restart: unless-stopped
volumes: volumes:
- pinchflat_config:/config - pinchflat_config:/config
- /mnt/hidrive/users/valknar/Downloads/pinchflat:/downloads - pinchflat_downloads:/downloads
environment: environment:
TZ: ${TIMEZONE:-Europe/Berlin} TZ: ${TIMEZONE:-Europe/Berlin}
JOURNAL_MODE: delete
networks: networks:
- compose_network - compose_network
labels: labels:
@@ -104,6 +103,8 @@ volumes:
name: ${MEDIA_COMPOSE_PROJECT_NAME}_filestash_data name: ${MEDIA_COMPOSE_PROJECT_NAME}_filestash_data
pinchflat_config: pinchflat_config:
name: ${MEDIA_COMPOSE_PROJECT_NAME}_pinchflat_config name: ${MEDIA_COMPOSE_PROJECT_NAME}_pinchflat_config
pinchflat_downloads:
name: ${MEDIA_COMPOSE_PROJECT_NAME}_pinchflat_downloads
networks: networks:
compose_network: compose_network: