We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 91d596d + 17fc8e3 commit 9c31125Copy full SHA for 9c31125
1 file changed
rc/control/daqinterface.py
@@ -3380,6 +3380,19 @@ def revert_failed_boot(failed_action):
3380
)
3381
return
3382
3383
+ starttime = time()
3384
+ self.print_log("i", "Waiting for artdaq XMLRPC servers to start")
3385
+ for procinfo in self.procinfos:
3386
+ while True:
3387
+ try:
3388
+ procinfo.lastreturned = procinfo.server.daq.status()
3389
+ break
3390
+ except Exception as ex:
3391
+ sleep(1)
3392
+ pass
3393
+ endtime = time()
3394
+ self.print_log("i", "done (%.1f seconds)." % (endtime - starttime))
3395
+
3396
if self.msgviewer_proc is not None:
3397
# now wait/check status from msgviewer
3398
if self.msgviewer_proc.wait() != 0:
0 commit comments