Skip to content

Commit

Permalink
Increased timeout for import script to 1000 seconds
Browse files Browse the repository at this point in the history
  • Loading branch information
Oliver Stark committed Sep 24, 2021
1 parent 3735d24 commit fe999b0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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 🤞🏻
Expand Down
1 change: 1 addition & 0 deletions bin/craft-copy-import-db.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit fe999b0

Please sign in to comment.