Skip to content

Commit

Permalink
Update src/servers/src/server.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Weny Xu <[email protected]>
  • Loading branch information
MichaelScofield and WenyXu authored Feb 23, 2024
1 parent e63f356 commit 5426d39
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/servers/src/server.rs
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,8 @@ impl ServerHandlers {
handlers.get(name).map(|x| x.1)
}

/// Starts all the managed services. It will block until all the services are started. And it will
/// set the actual bound address to the service.
/// Starts all the managed services. It will block until all the services are started.
/// And it will set the actual bound address to the service.
pub async fn start_all(&self) -> Result<()> {
let mut handlers = self.handlers.write().await;
try_join_all(handlers.values_mut().map(|(server, addr)| async move {
Expand Down

0 comments on commit 5426d39

Please sign in to comment.