Open cboyden opened 10 years ago
I haven't had a chance to look into this yet, but I will. Thanks for reporting. I'm marking it as "question" simply because I haven't confirmed it yet. But I suspect it's a bug.
If you simply use psite-tclose
with no arguments, all tunnels are closed immediately.
[bwood@mbp migration]$ drush psite-tunnels
PID Since Site Env Type Local Remote
32471 5:27PM openucb-469-budget-bw dev dbserver 15608 15608
[bwood@mbp migration]$ drush psite-tclose
All tunnels closed [ok]
[bwood@mbp migration]$ drush psite-tunnels
PID Since Site Env Type Local Remote
[bwood@mbp migration]$
Running psite-tclose does not appear to close the tunnel right away. The tunnel times out after about 10 minutes with a message like "Connection to dbserver.test.caf27d7c-96fd-f87f-04c5-9dc2b3dbfdb2.drush.in closed by remote host."