branch: elpa-release/hyperdrive
commit 34f7d4347354bf5601ca371b2a935e4a2b981877
Author: Joseph Turner <jos...@ushin.org>
Commit: Joseph Turner <jos...@ushin.org>

    Change: (h/restart) Wait 10 seconds for the gateway to die
    
    This is consistent with h/stop, which also signals after 10 seconds.
---
 hyperdrive.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/hyperdrive.el b/hyperdrive.el
index 987863dc37..fca9b2ac42 100644
--- a/hyperdrive.el
+++ b/hyperdrive.el
@@ -143,7 +143,7 @@ which see."
   (interactive)
   (h/message "Restarting gateway...")
   (with-demoted-errors (h/stop))
-  (with-timeout (5 (h/message "Timed out waiting for gateway to stop"))
+  (with-timeout (10 (h/message "Timed out waiting for gateway to stop"))
     (cl-loop while (h/gateway-live-p)
              do (sleep-for 0.2)))
   (h/start))

Reply via email to