Skip to content

Commit 1a4ca05

Browse files
committed
style: remove outdated comments
1 parent 1828c5c commit 1a4ca05

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

mamonsu/plugins/pgsql/health.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ def run(self, zbx):
2121

2222
start_time = time.time()
2323
Pooler.query(self.query_health)
24-
zbx.send(self.key_ping.format('[]'), (time.time() - start_time) * 100) # FIXME for agent type
24+
zbx.send(self.key_ping.format('[]'), (time.time() - start_time) * 100)
2525

2626
result = Pooler.query(self.query_uptime)
2727
zbx.send(self.key_uptime.format('[]'), int(result[0][0]))
@@ -32,7 +32,7 @@ def run(self, zbx):
3232
def items(self, template):
3333
result = ''
3434
if self.Type == "mamonsu":
35-
delay = self.plugin_config('interval') #TODO check delay
35+
delay = self.plugin_config('interval')
3636
value_type = Plugin.VALUE_TYPE.numeric_unsigned
3737
else:
3838
delay = 5 #TODO check delay

mamonsu/plugins/pgsql/instance.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
from mamonsu.plugins.pgsql.plugin import PgsqlPlugin as Plugin
44
from .pool import Pooler
5-
import random
65

76

87
class Instance(Plugin):

0 commit comments

Comments
 (0)