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
@@ -78,7 +78,7 @@ class TomatoDeviceScanner(object):
|
||||
else:
|
||||
return filter_named[0]
|
||||
|
||||
@util.AddCooldown(MIN_TIME_BETWEEN_SCANS)
|
||||
@util.Throttle(MIN_TIME_BETWEEN_SCANS)
|
||||
def _update_tomato_info(self):
|
||||
""" Ensures the information from the Tomato router is up to date.
|
||||
Returns boolean if scanning successful. """
|
||||
|
||||
Reference in new issue
Block a user