Renamed AddCooldown to Throttle and added bypass functionality

This commit is contained in:
Paulus Schoutsen committed 2014-12-04 21:06:45 -08:00
1 parent 31b9f65513
commit 48089b01ab
7 files changed
+91 -65

No files matched your search

@@ -87,7 +87,7 @@ class LuciDeviceScanner(object):
return
return self.mac2name.get(device, None)
@util.AddCooldown(MIN_TIME_BETWEEN_SCANS)
@util.Throttle(MIN_TIME_BETWEEN_SCANS)
def _update_info(self):
""" Ensures the information from the Luci router is up to date.
Returns boolean if scanning successful. """