Open finteractive opened 7 years ago
I, too, get this error a lot. And it makes using Terminus almost impossible.
@finteractive are you sure this is related to timeouts? To me it seems like it is just one request that fails due to SSL issues which fails the terminus command. Looking at the loop in #1738, we are periodically checking of the Workflow status, so the longer the Workflow the more calls are made and the more likely one of them is to fail.
When setting up a bash script for managing multiple sites with a custom upstream a number of commands will time out because terminus displays no output.
I'm noticed this these commands on larger sites:
My script does the following functions:
What Happens On large sites some longer running tasks time out.
Even when they time out, the tasks complete, but it breaks my automated workflow. If the first clone-content command times out (Step2), the next clone-content will start running before the first is completed, resulting in corrupted files and/or database on steps 3 or 4.
Proposed solution. Add a terminus flag that can be used on all commands to output "Working ..." and have the dots change from 1 to 3 dots. (or perhaps make this the apply to the "slow" commands). This should stop the script from timing out
It sounds like like this issue is form the same source - https://github.com/pantheon-systems/terminus/issues/1672