mirror of
https://github.com/calibrain/shelfmark.git
synced 2026-10-05 22:05:50 +01:00
- Add configurable completed-path wait for external clients : - Add a configurable Advanced setting, DOWNLOAD_CLIENT_COMPLETED_PATH_TIMEOUT, for how long Shelfmark waits after a torrent or usenet client reports completion before treating the completed path as missing. - Keep the default at the existing 60-second grace period, with a maximum of 3600 seconds - Add e2e testing - Add e2e testing Should fix #861
22 lines
980 B
Bash
22 lines
980 B
Bash
# Profile: client-qbittorrent-delayed (cluster 5 — delayed completed-path visibility)
|
|
# Same mock Prowlarr + webseed torrent as `full`, but qBittorrent writes to a
|
|
# directory Shelfmark cannot see until the delayed sync sidecar copies it over.
|
|
# This models seedbox / remote-sync setups where the client reports completion
|
|
# before the completed path exists inside Shelfmark.
|
|
COMPOSE_PROFILES=client-qbittorrent-delayed
|
|
SM_PROWLARR_ENABLED=true
|
|
SM_PROWLARR_URL=http://mock-prowlarr
|
|
SM_PROWLARR_API_KEY=e2e-test-key
|
|
SM_PROWLARR_TORRENT_CLIENT=qbittorrent
|
|
SM_QBITTORRENT_URL=http://qbittorrent:8080
|
|
SM_QBITTORRENT_USERNAME=admin
|
|
SM_QBITTORRENT_PASSWORD=adminadmin
|
|
SM_QBITTORRENT_CATEGORY=books
|
|
|
|
# The sync delay must be longer than the default client path polling interval
|
|
# so Shelfmark actually enters the completed-path wait loop.
|
|
SM_DELAYED_DOWNLOAD_SYNC_SECONDS=20
|
|
SM_DOWNLOAD_CLIENT_COMPLETED_PATH_TIMEOUT=90
|
|
E2E_DOWNLOAD_TIMEOUT=180
|
|
E2E_PROFILE=client-qbittorrent-delayed
|