[router] Update doc for dynamic scaling and fault tolerance (#2454)

This commit is contained in:
Byron Hsu
2024-12-11 13:11:42 -08:00
committed by GitHub
parent 9208618b3e
commit c0ee46fe10
3 changed files with 73 additions and 119 deletions

View File

@@ -118,7 +118,7 @@ async fn remove_worker(
None => return HttpResponse::BadRequest().finish(),
};
data.router.remove_worker(&worker_url);
HttpResponse::Ok().finish()
HttpResponse::Ok().body(format!("Successfully removed worker: {}", worker_url))
}
pub struct ServerConfig {