From 82db0a14c13656b3d6e551a032151280d6025e4c Mon Sep 17 00:00:00 2001 From: Tobias Witek Date: Sun, 7 Jan 2018 20:41:14 +0100 Subject: [PATCH] [modules/ping] Revert changes reg. interval handling Similarily to getcrypto, do not use the generic interval handling for the ping module. see #220 --- bumblebee/modules/ping.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bumblebee/modules/ping.py b/bumblebee/modules/ping.py index 5619b18..0a1419b 100644 --- a/bumblebee/modules/ping.py +++ b/bumblebee/modules/ping.py @@ -6,7 +6,7 @@ Requires the following executable: * ping Parameters: - * ping.ping_interval: Time in seconds between two RTT checks (defaults to 60) + * ping.interval: Time in seconds between two RTT checks (defaults to 60) * ping.address : IP address to check * ping.timeout : Timeout for waiting for a reply (defaults to 5.0) * ping.probes : Number of probes to send (defaults to 5) @@ -51,7 +51,7 @@ class Module(bumblebee.engine.Module): super(Module, self).__init__(engine, config, widget) widget.set("address", self.parameter("address", "8.8.8.8")) - widget.set("interval", self.parameter("ping_interval", 60)) + widget.set("interval", self.parameter("interval", 60)) widget.set("rtt-probes", self.parameter("probes", 5)) widget.set("rtt-timeout", self.parameter("timeout", 5.0)) widget.set("rtt-avg", 0.0)