From fe999b0387cf77043496f38b832e1b3bcbe30372 Mon Sep 17 00:00:00 2001 From: Oliver Stark Date: Fri, 24 Sep 2021 16:38:35 +0200 Subject: [PATCH] Increased timeout for import script to 1000 seconds --- CHANGELOG.md | 3 +++ bin/craft-copy-import-db.php | 1 + 2 files changed, 4 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2f27d67..fdb168f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,8 @@ # Changelog +## 1.0.7 - 2021-09-24 +- Increased timeout for import script to 1000 seconds + ## 1.0.6 - 2021-09-24 - Exclude `resourcepaths` table from db backup - Ignore mysql import errors 🤞🏻 diff --git a/bin/craft-copy-import-db.php b/bin/craft-copy-import-db.php index 3099a88..cebca33 100755 --- a/bin/craft-copy-import-db.php +++ b/bin/craft-copy-import-db.php @@ -70,6 +70,7 @@ $cmd = str_replace(array_keys($tokens), array_values($tokens), $cmd); $process = \Symfony\Component\Process\Process::fromShellCommandline($cmd); +$process->setTimeout(1000); $process->run(); unlink($credentialsFile);