Skip to content

Commit

Permalink
Avoid spurious error log
Browse files Browse the repository at this point in the history
  • Loading branch information
hendrikmakait committed Oct 9, 2024
1 parent 004fafb commit 115eb95
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions distributed/deploy/adaptive.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,8 @@ def __init__(
str, dask.config.get("distributed.adaptive.target-duration")
)

super().__init__(minimum=minimum, maximum=maximum, wait_count=wait_count)

self.interval = parse_timedelta(interval, "seconds")
self.periodic_callback = None

Expand Down Expand Up @@ -163,8 +165,6 @@ async def _adapt():

self.target_duration = parse_timedelta(target_duration)

super().__init__(minimum=minimum, maximum=maximum, wait_count=wait_count)

def _start(self) -> None:
if self.state != "starting":
return
Expand Down

0 comments on commit 115eb95

Please sign in to comment.