Skip to content

Commit

Permalink
[modules/ping] Revert changes reg. interval handling
Browse files Browse the repository at this point in the history
Similarily to getcrypto, do not use the generic interval handling
for the ping module.

see #220
  • Loading branch information
tobi-wan-kenobi committed Jan 7, 2018
1 parent 3638aa2 commit 82db0a1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bumblebee/modules/ping.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
* 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)
Expand Down Expand Up @@ -51,7 +51,7 @@ def __init__(self, engine, config):
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)
Expand Down

0 comments on commit 82db0a1

Please sign in to comment.