Add higher FTP timeout options for large 3MF files (#660)

Large Hueforge 3MF files (~28 MB) can't be downloaded from the
  printer's FTP server within the previous 120s max timeout, especially
  during active printing. Added 180s and 300s timeout options to the
  FTP settings dropdown.
This commit is contained in:
maziggy
2026-03-10 08:31:44 +01:00
parent 68d2230cab
commit fa4bb92f7d
3 changed files with 5 additions and 2 deletions
+1 -1
View File
@@ -93,7 +93,7 @@ class AppSettings(BaseModel):
ftp_retry_enabled: bool = Field(default=True, description="Enable automatic retry for FTP operations")
ftp_retry_count: int = Field(default=3, description="Number of retry attempts for FTP operations (1-10)")
ftp_retry_delay: int = Field(default=2, description="Seconds to wait between FTP retry attempts (1-30)")
ftp_timeout: int = Field(default=30, description="FTP connection timeout in seconds (10-120)")
ftp_timeout: int = Field(default=30, description="FTP connection timeout in seconds (10-300)")
# MQTT Relay settings for publishing events to external broker
mqtt_enabled: bool = Field(default=False, description="Enable MQTT event publishing to external broker")