Skip to main content

serve_atlas

Function serve_atlas 

Source
pub async fn serve_atlas(
    registry: Arc<AtlasRegistry>,
    listen: SocketAddr,
) -> Result<()>
Expand description

Start the Atlas gRPC server on listen using the given registry. Supervise heartbeat eviction alongside the Atlas service. Steady clock failure or eviction task failure stops the server with an error. Dropping this future also cancels eviction, so it cannot retain an orphan registry.

浙ICP备2023005800号-2 浙公网安备33010902005384号