[router] Health check on worker before adding to the router (#2392)

This commit is contained in:
Byron Hsu
2024-12-07 15:39:54 -08:00
committed by GitHub
parent 75ae968959
commit ef995dae1e
5 changed files with 79 additions and 31 deletions

7
rust/Cargo.lock generated
View File

@@ -1,6 +1,6 @@
# This file is automatically @generated by Cargo.
# It is not intended for manual editing.
version = 3
version = 4
[[package]]
name = "actix-codec"
@@ -2219,6 +2219,7 @@ dependencies = [
"serde",
"serde_json",
"tokenizers",
"tokio",
]
[[package]]
@@ -2475,9 +2476,9 @@ dependencies = [
[[package]]
name = "tokio"
version = "1.41.0"
version = "1.42.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "145f3413504347a2be84393cc8a7d2fb4d863b375909ea59f2158261aa258bbb"
checksum = "5cec9b21b0450273377fc97bd4c33a8acffc8c996c987a7c5b319a0083707551"
dependencies = [
"backtrace",
"bytes",