Skip to content

Commit

Permalink
Fix 0005-Add-nanny-patch.patch
Browse files Browse the repository at this point in the history
  • Loading branch information
oshadura committed Feb 21, 2023
1 parent d9d3972 commit 4ea46f1
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions docker/dask/distributed/0005-Add-nanny-patch.patch
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ index 376f2a1c..10af475a 100755
host=host,
dashboard=dashboard,
diff --git a/distributed/worker.py b/distributed/worker.py
index 18a91668..ba398b6c 100644
index 18a91668..ae38302d 100644
--- a/distributed/worker.py
+++ b/distributed/worker.py
@@ -413,6 +413,7 @@ class Worker(ServerNode):
Expand Down Expand Up @@ -72,10 +72,11 @@ index 18a91668..ba398b6c 100644
logger.info("-" * 49)
while True:
try:
@@ -1158,6 +1163,7 @@ class Worker(ServerNode):
@@ -1157,7 +1162,7 @@ class Worker(ServerNode):
memory_limit=self.memory_manager.memory_limit,
local_directory=self.local_directory,
services=self.service_ports,
nanny=self.nanny,
- nanny=self.nanny,
+ nanny=self.nanny_contact_address,
pid=os.getpid(),
versions=get_versions(),
Expand Down

0 comments on commit 4ea46f1

Please sign in to comment.