Timout error on cloud servers
-
Using Duplicator on Cloud servers usually times out because the load-balancing does not allow for more than 30 seconds of run time. Adding the following ping to keep the tunnel open to the install.php seems to solve the problem for me at least.
$pipe = popen($cmd, ‘r’);
if (empty($pipe)) {
throw new Exception(“Unable to open pipe for command ‘$cmd'”);
}stream_set_blocking($pipe, false);
echo “\n”;while (!feof($pipe)) {
fread($pipe, 1024);
sleep(1);
echo “.”;
flush();
}echo “\n”;
pclose($pipe);
Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
- The topic ‘Timout error on cloud servers’ is closed to new replies.