aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pyproject.toml2
-rwxr-xr-xtunneltop/tunneltop.py4
2 files changed, 4 insertions, 2 deletions
diff --git a/pyproject.toml b/pyproject.toml
index b243c4e..03edd91 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -1,6 +1,6 @@
[tool.poetry]
name = "tunneltop"
-version = "0.1.4"
+version = "0.1.5"
description = "A top-like tunnel manager"
authors = ["terminaldwelelr <devi@terminaldweller.com>"]
license = "GPL-3.0"
diff --git a/tunneltop/tunneltop.py b/tunneltop/tunneltop.py
index 0e92578..6810638 100755
--- a/tunneltop/tunneltop.py
+++ b/tunneltop/tunneltop.py
@@ -191,7 +191,8 @@ def curses_init():
curses.noecho()
curses.cbreak()
stdscr.keypad(True)
- curses.halfdelay(20)
+ # stdscr.nodelay(True)
+ curses.halfdelay(2)
curses.init_pair(1, curses.COLOR_GREEN, curses.COLOR_BLACK)
curses.init_pair(2, curses.COLOR_BLACK, curses.COLOR_GREEN)
curses.init_pair(3, curses.COLOR_BLUE, curses.COLOR_BLACK)
@@ -456,6 +457,7 @@ class TunnelManager:
async def scheduler(self) -> None:
"""scheduler manages running the tests and reviving dead tunnels"""
try:
+ await asyncio.sleep(5)
while True:
if self.are_we_dying:
return