emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/hyperdrive 1e282c7a63 035/163: Fix: (h/restart) Don't say


From: ELPA Syncer
Subject: [nongnu] elpa/hyperdrive 1e282c7a63 035/163: Fix: (h/restart) Don't say "Gateway restarted." prematurely
Date: Fri, 31 May 2024 04:00:10 -0400 (EDT)

branch: elpa/hyperdrive
commit 1e282c7a6363debcc46fa02595245dc1a83d9207
Author: Joseph Turner <joseph@ushin.org>
Commit: Joseph Turner <joseph@ushin.org>

    Fix: (h/restart) Don't say "Gateway restarted." prematurely
    
    `hyperdrive-start' runs a timer, so a success message should only
    display after the gateway is confirmed responsive.
---
 hyperdrive.el | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/hyperdrive.el b/hyperdrive.el
index c077f2c3bd..8c7a40b067 100644
--- a/hyperdrive.el
+++ b/hyperdrive.el
@@ -1363,8 +1363,7 @@ gateway version."
   (with-timeout (5 (h/message "Timed out waiting for gateway to stop"))
     (cl-loop while (h//gateway-live-p)
              do (sleep-for 0.2)))
-  (hyperdrive-start)
-  (h/message "Gateway restarted."))
+  (hyperdrive-start))
 
 ;; (defun h//gateway-appears-valid-p ()
 ;;   "Return non-nil if a local installation of the gateway appears valid.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]