Skip to content

Commit

Permalink
Drop cancel_futures=True
Browse files Browse the repository at this point in the history
  • Loading branch information
Wh1isper committed Aug 29, 2023
1 parent cb43123 commit 1e8c7e2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion duetector/collectors/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ def summary(self) -> Dict:
raise NotImplementedError

def shutdown(self):
self._backend.shutdown(cancel_futures=True)
self._backend.shutdown()


class DequeCollector(Collector):
Expand Down
2 changes: 1 addition & 1 deletion duetector/monitors/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,6 @@ def start_polling(self):
def shutdown(self):
self.poller.shutdown()
self.poller.wait()
self._backend.shutdown(cancel_futures=True)
self._backend.shutdown()
for c in self.collectors:
c.shutdown()

0 comments on commit 1e8c7e2

Please sign in to comment.