dora-rs / dora

DORA (Dataflow-Oriented Robotic Application) is middleware designed to streamline and simplify the creation of AI-based robotic applications. It offers low latency, composable, and distributed dataflow capabilities. Applications are modeled as directed graphs, also referred to as pipelines.
https://dora-rs.ai
Apache License 2.0
1.35k stars 68 forks source link

Fix: Wait until dora daemon is connected to coordinator on `dora up` #496

Closed phil-opp closed 2 months ago

phil-opp commented 2 months ago

It might take a short time until the daemon is connected to the coordinator after start-up. This could lead to issues when using dora up in a script because a subsequent dora start command might fail when the daemon is not connected at that point.

This commit fixes this issue by waiting until the coordinator confirms that a daemon is connected before returning from dora up.