diff options
author | terminaldweller <thabogre@gmail.com> | 2023-02-07 05:41:29 +0000 |
---|---|---|
committer | terminaldweller <thabogre@gmail.com> | 2023-02-07 05:41:29 +0000 |
commit | 76a991c2ab5e9a3cb53c4fa4cb5094239ac83c3e (patch) | |
tree | 68f6b46789a4bf3d28b545724fe1fec959d22b82 | |
parent | fixed the disabled task coloring issue. fixed the log to home dir (diff) | |
download | tunneltop-76a991c2ab5e9a3cb53c4fa4cb5094239ac83c3e.tar.gz tunneltop-76a991c2ab5e9a3cb53c4fa4cb5094239ac83c3e.zip |
fixed a bug where tests would not reschedule after running for the first time
-rw-r--r-- | pyproject.toml | 2 | ||||
-rwxr-xr-x | tunneltop/tunneltop.py | 6 |
2 files changed, 5 insertions, 3 deletions
diff --git a/pyproject.toml b/pyproject.toml index d6f5113..2724253 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "tunneltop" -version = "0.1.1" +version = "0.1.3" 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 fef05ee..21c6339 100755 --- a/tunneltop/tunneltop.py +++ b/tunneltop/tunneltop.py @@ -1,8 +1,7 @@ #!/usr/bin/env python """A top-like program for monitoring ssh tunnels or any tunnels""" -# TODO- the disabled coloring is not working # TODO- quit doesnt work -# TODO- we are reviving dead tunnels +# TODO- we are not reviving dead tunnels import argparse import asyncio import copy @@ -469,6 +468,9 @@ class TunnelManager: tunnel_entry["test_interval"] ) await asyncio.sleep(0) + self.scheduler_table[key] = int( + self.data_cols[key]["test_interval"] + ) else: self.scheduler_table[key] = ( self.scheduler_table[key] - 1 |