Enhance network resilience features in HMAC File Server 3.2

This commit is contained in:
2025-07-20 15:21:27 +00:00
parent 3c8a96c14e
commit f8e4d8fcba
11 changed files with 162 additions and 16 deletions

View File

@ -94,6 +94,7 @@ worker_scale_down_thresh = 10
deduplication_enabled = true
min_free_bytes = "1GB"
file_naming = "original"
networkevents = true # Enable network monitoring for resilience
[uploads]
# XMPP-compatible file extensions for maximum client support
@ -113,6 +114,16 @@ upload_slot_ttl = "3600s"
retry_failed_uploads = true
max_upload_retries = 3
# Enhanced Network Resilience (NEW)
[network_resilience]
fast_detection = true # 1-second network change detection
quality_monitoring = true # Monitor RTT and packet loss
predictive_switching = true # Proactive network switching
mobile_optimizations = true # Mobile-friendly thresholds
detection_interval = "1s"
quality_check_interval = "5s"
max_detection_interval = "10s"
[downloads]
resumable_downloads_enabled = true
chunked_downloads_enabled = true