Renamed AddCooldown to Throttle and added bypass functionality
This commit is contained in:
1 parent
31b9f65513
commit
48089b01ab
7 files changed
+91
-65
No files matched your search
@@ -82,7 +82,7 @@ class NetgearDeviceScanner(object):
|
||||
else:
|
||||
return None
|
||||
|
||||
@util.AddCooldown(MIN_TIME_BETWEEN_SCANS)
|
||||
@util.Throttle(MIN_TIME_BETWEEN_SCANS)
|
||||
def _update_info(self):
|
||||
""" Retrieves latest information from the Netgear router.
|
||||
Returns boolean if scanning successful. """
|
||||
|
||||
Reference in new issue
Block a user