We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 710db16 commit df6a1c1Copy full SHA for df6a1c1
scripts/Util.py
@@ -2401,8 +2401,10 @@ def callback(future):
2401
while nRetry < 120:
2402
nRetry += 1
2403
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)
+ # If the process controller supports discovery or if we have a direct endpoint to it, try to
+ # 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)
2408
2409
with self.cond:
2410
if ident not in self.processControllerProxies:
0 commit comments