summaryrefslogtreecommitdiff
path: root/setup.sh
diff options
context:
space:
mode:
Diffstat (limited to 'setup.sh')
-rwxr-xr-xsetup.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/setup.sh b/setup.sh
index 6e9c0aa..10aafe9 100755
--- a/setup.sh
+++ b/setup.sh
@@ -318,6 +318,8 @@ RCLONE_RETRIES=10
RCLONE_RETRIES_SLEEP=30s
# Memory optimization for VPS environments
RESTIC_CACHE_DIR=/tmp/restic-cache
+# Increase HTTP timeout for restic communicating with rclone serve
+RESTIC_REST_TIMEOUT=300s
GOMAXPROCS=1
EOF
log "Setting permissions for $ENV_FILE to 600"