[tor-commits] [nyx/master] Show notice when we're attempting to reconnect to tor

atagar at torproject.org atagar at torproject.org
Mon Apr 18 20:23:16 UTC 2016


commit 29a4653b380f25b70293339c6587949c645a950a
Author: Damian Johnson <atagar at torproject.org>
Date:   Mon Apr 18 11:42:01 2016 -0700

    Show notice when we're attempting to reconnect to tor
    
    Tor takes a while before it accepts control connections. If you tell nyx to
    reconnect right after restarting tor it can hang for upward of thirty seconds.
    Showing a message to at least give a visual que that this is going on.
---
 nyx/panel/header.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/nyx/panel/header.py b/nyx/panel/header.py
index 6551800..897ffbc 100644
--- a/nyx/panel/header.py
+++ b/nyx/panel/header.py
@@ -137,6 +137,7 @@ class HeaderPanel(nyx.panel.DaemonPanel):
         return
 
       controller = tor_controller()
+      self.show_message('Reconnecting...', HIGHLIGHT)
 
       try:
         try:





More information about the tor-commits mailing list