Skip to content

Commit df6a1c1

Browse files
Still need this check it seems.
1 parent 710db16 commit df6a1c1

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

scripts/Util.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2401,8 +2401,10 @@ def callback(future):
24012401
while nRetry < 120:
24022402
nRetry += 1
24032403

2404-
# Try to ping the controller. This can take a few tries as the controller app might still be starting.
2405-
proxy.ice_pingAsync().add_done_callback(callback)
2404+
# If the process controller supports discovery or if we have a direct endpoint to it, try to
2405+
# ping it. This can take a few tries as the controller app might still be starting.
2406+
if self.supportsDiscovery() or controllerEndpoints is not None:
2407+
proxy.ice_pingAsync().add_done_callback(callback)
24062408

24072409
with self.cond:
24082410
if ident not in self.processControllerProxies:

0 commit comments

Comments
 (0)