mirror of https://github.com/nucypher/nucypher.git
removes interval parapeter from subclass constructors of SimpleTask
parent
69bd09bfe3
commit
b1fef5d6b1
|
@ -14,7 +14,7 @@ class OperatorBondedTracker(SimpleTask):
|
|||
|
||||
def __init__(self, ursula):
|
||||
self._ursula = ursula
|
||||
super().__init__(interval=self.INTERVAL)
|
||||
super().__init__()
|
||||
|
||||
def run(self) -> None:
|
||||
application_agent = ContractAgency.get_agent(
|
||||
|
|
|
@ -53,7 +53,7 @@ class EventScannerTask(SimpleTask):
|
|||
|
||||
def __init__(self, scanner: Callable):
|
||||
self.scanner = scanner
|
||||
super().__init__(interval=self.INTERVAL)
|
||||
super().__init__()
|
||||
|
||||
def run(self):
|
||||
self.scanner()
|
||||
|
|
Loading…
Reference in New Issue