瀏覽代碼

timeout to 5h

Denys Bashkatov 3 周之前
父節點
當前提交
7785179443
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      scripts/mirror-sync.sh

+ 1 - 1
scripts/mirror-sync.sh

@@ -57,7 +57,7 @@ do_sync() {
     export PYTHONIOENCODING=utf-8
     export PYTHONIOENCODING=utf-8
     
     
     # Run apt-mirror2 using Python version with timeout
     # Run apt-mirror2 using Python version with timeout
-    if timeout 7200 apt-mirror "$MIRROR_CONFIG" 2>&1 | tee -a "$MIRROR_LOG"; then
+    if timeout 18000 apt-mirror "$MIRROR_CONFIG" 2>&1 | tee -a "$MIRROR_LOG"; then
         log "Sync completed successfully"
         log "Sync completed successfully"
         
         
         # Update symlink to ensure web server sees latest data
         # Update symlink to ensure web server sees latest data