Skip to content

Commit

Permalink
fix regressions
Browse files Browse the repository at this point in the history
  • Loading branch information
crusaderky committed Sep 23, 2021
1 parent 3de84a1 commit 4f75db3
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion distributed/deploy/adaptive.py
Original file line number Diff line number Diff line change
Expand Up @@ -208,4 +208,7 @@ async def scale_up(self, n):
@property
def loop(self) -> IOLoop:
"""Override Adaptive.loop"""
return self.cluster.loop
if self.cluster:
return self.cluster.loop
else:
return Adaptive.loop.__get__(self)

0 comments on commit 4f75db3

Please sign in to comment.