Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions config.sample.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,9 @@ rclone:
vfs_cache_mode: 'full' # VFS cache mode: off|minimal|writes|full (--vfs-cache-mode=full)
vfs_cache_max_size: '50G' # Maximum cache size (--vfs-cache-max-size=50G)
vfs_cache_max_age: '504h' # Maximum cache age (--vfs-cache-max-age=504h, 21 days)
read_chunk_size: '32M' # VFS read chunk size (--vfs-read-chunk-size=32M)
read_chunk_size_limit: '2G' # Read chunk size limit (--vfs-read-chunk-size-limit=2G)
vfs_cache_poll_interval: '1m' # How often to poll for remote changes (--vfs-cache-poll-interval=1m)
vfs_read_chunk_size: '32M' # VFS read chunk size (--vfs-read-chunk-size=32M)
vfs_read_chunk_size_limit: '2G' # Read chunk size limit (--vfs-read-chunk-size-limit=2G)
vfs_read_ahead: '128M' # VFS read-ahead size (--vfs-read-ahead=128M)
dir_cache_time: '10m' # Directory cache time (--dir-cache-time=10m)

Expand Down Expand Up @@ -153,14 +154,12 @@ import:
- '.pdf'
- '.cbz'
max_import_connections: 5 # Number of concurrent NNTP connections for validation and archive processing
import_cache_size_mb: 64 # Cache size in MB for archive analysis
segment_sample_percentage: 1 # Percentage of segments to sample for validation (1-100)
import_strategy: 'NONE' # Import strategy: NONE (direct import), SYMLINK (create symlinks), STRM (create .strm files)
# NOTE: SYMLINK on Windows requires `allow_symlinks_on_windows: true` AND Windows Developer Mode enabled. Otherwise use STRM.
import_dir: '' # Import directory (required when import_strategy is SYMLINK or STRM, must be absolute path)
# Windows example: 'C:\Users\user\Videos'
allow_symlinks_on_windows: false # Permit symlink creation on Windows (requires Developer Mode in Windows Settings → For developers). No effect on Linux/macOS. Default: false.
skip_health_check: true # Bypass Usenet article validation during import (default: true)
failed_item_retention_hours: 24 # Auto-remove failed queue items and NZB files after this many hours (0 to disable, default: 24)

# Health monitoring configuration
Expand Down
23 changes: 17 additions & 6 deletions frontend/src/components/config/MountConfigSection.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -798,6 +798,16 @@ function RCloneMountSubSection({ config, onFormDataChange }: RCloneSubSectionPro
placeholder="50G"
/>
</fieldset>
<fieldset className="fieldset">
<legend className="fieldset-legend">Cache Poll Interval</legend>
<input
type="text"
className="input input-bordered w-full bg-base-100 font-mono text-sm"
value={mountFormData.vfs_cache_poll_interval}
onChange={(e) => handleMountInputChange("vfs_cache_poll_interval", e.target.value)}
placeholder="1m"
/>
</fieldset>
</div>
<fieldset className="fieldset">
<legend className="fieldset-legend">Cache Max Age</legend>
Expand Down Expand Up @@ -845,8 +855,8 @@ function RCloneMountSubSection({ config, onFormDataChange }: RCloneSubSectionPro
<input
type="text"
className="input input-bordered w-full bg-base-100 font-mono text-sm"
value={mountFormData.read_chunk_size}
onChange={(e) => handleMountInputChange("read_chunk_size", e.target.value)}
value={mountFormData.vfs_read_chunk_size}
onChange={(e) => handleMountInputChange("vfs_read_chunk_size", e.target.value)}
placeholder="32M"
/>
</fieldset>
Expand All @@ -855,8 +865,8 @@ function RCloneMountSubSection({ config, onFormDataChange }: RCloneSubSectionPro
<input
type="text"
className="input input-bordered w-full bg-base-100 font-mono text-sm"
value={mountFormData.read_chunk_size_limit}
onChange={(e) => handleMountInputChange("read_chunk_size_limit", e.target.value)}
value={mountFormData.vfs_read_chunk_size_limit}
onChange={(e) => handleMountInputChange("vfs_read_chunk_size_limit", e.target.value)}
placeholder="2G"
/>
</fieldset>
Expand Down Expand Up @@ -1324,10 +1334,11 @@ function buildRCloneMountFormData(config: ConfigResponse): RCloneMountFormData {
transfers: config.rclone.transfers || 4,
cache_dir: config.rclone.cache_dir || "",
vfs_cache_mode: config.rclone.vfs_cache_mode || "full",
vfs_cache_poll_interval: config.rclone.vfs_cache_poll_interval || "1m",
vfs_cache_max_size: config.rclone.vfs_cache_max_size || "50G",
vfs_cache_max_age: config.rclone.vfs_cache_max_age || "504h",
read_chunk_size: config.rclone.read_chunk_size || "32M",
read_chunk_size_limit: config.rclone.read_chunk_size_limit || "2G",
vfs_read_chunk_size: config.rclone.vfs_read_chunk_size || "32M",
vfs_read_chunk_size_limit: config.rclone.vfs_read_chunk_size_limit || "2G",
vfs_read_ahead: config.rclone.vfs_read_ahead || "128M",
dir_cache_time: config.rclone.dir_cache_time || "10m",
vfs_cache_min_free_space: config.rclone.vfs_cache_min_free_space || "1G",
Expand Down
Loading
Loading