Skip to content

Commit e01d679

Browse files
authored
Update main.py
allow unavailable agent
1 parent e0d38ef commit e01d679

File tree

1 file changed

+1
-1
lines changed
  • formant_ros2_adapter/scripts

1 file changed

+1
-1
lines changed

formant_ros2_adapter/scripts/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
logger.info("Creating Formant agent client")
2222
# To do: a cleaner solution would have ignore_unavailable=True and
2323
# something implemented in the client to avoid a race condition
24-
fclient = Client(ignore_throttled=True)
24+
fclient = Client(ignore_throttled=True, ignore_unavailable=True)
2525
logger.info("Waiting %s seconds for Formant agent client" % FCLIENT_WAIT)
2626
ROS2Adapter(fclient, node)
2727
try:

0 commit comments

Comments
 (0)