mirror of
https://github.com/bahmcloud/owncloud-backup-ha.git
synced 2026-04-06 13:31:15 +00:00
Add SPOOL_FLUSH_BYTES constant for uploads
Added constant for spooling to temporary file during uploads.
This commit is contained in:
@@ -14,3 +14,6 @@ DATA_BACKUP_AGENT_LISTENERS = "backup_agent_listeners"
|
|||||||
TAR_PREFIX = "ha_backup_"
|
TAR_PREFIX = "ha_backup_"
|
||||||
TAR_SUFFIX = ".tar"
|
TAR_SUFFIX = ".tar"
|
||||||
META_SUFFIX = ".json"
|
META_SUFFIX = ".json"
|
||||||
|
|
||||||
|
# Spooling to temp file to avoid chunked WebDAV uploads
|
||||||
|
SPOOL_FLUSH_BYTES = 1024 * 1024 # 1 MiB
|
||||||
|
|||||||
Reference in New Issue
Block a user