mirror of
https://github.com/maziggy/bambuddy.git
synced 2026-10-17 19:36:28 +02:00
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:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user