Add SPOOL_FLUSH_BYTES constant for uploads

Added constant for spooling to temporary file during uploads.
This commit is contained in:
2026-01-14 10:44:00 +01:00
committed by GitHub
parent 76715585ab
commit 99c362b6d4

View File

@@ -14,3 +14,6 @@ DATA_BACKUP_AGENT_LISTENERS = "backup_agent_listeners"
TAR_PREFIX = "ha_backup_"
TAR_SUFFIX = ".tar"
META_SUFFIX = ".json"
# Spooling to temp file to avoid chunked WebDAV uploads
SPOOL_FLUSH_BYTES = 1024 * 1024 # 1 MiB