Skip to content

Commit 2fbcdd1

Browse files
tommilligansrleyvaswallez
authored
feature: Add multi-node connection pool (#189)
* Implement static node list connection pool * trait for setting connection distribution. Defaults to RoundRobin. * Allow reseeding of nodes on MultiNodeConnection * Implement Sniff Nodes request --------- Co-authored-by: Stephen Leyva <sleyva1297@gmail.com> Co-authored-by: Sylvain Wallez <sylvain@elastic.co>
1 parent b70057b commit 2fbcdd1

File tree

2 files changed

+376
-15
lines changed

2 files changed

+376
-15
lines changed

elasticsearch/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ url = "2"
3636
serde = { version = "1", features = ["derive"] }
3737
serde_json = "1"
3838
serde_with = "3"
39+
tokio = { version = "1", default-features = false, features = ["macros", "net", "time", "rt-multi-thread"] }
3940
void = "1"
4041

4142
[dev-dependencies]
@@ -50,7 +51,6 @@ os_type = "2"
5051
regex="1"
5152
#sysinfo = "0.31"
5253
textwrap = "0.16"
53-
tokio = { version = "1", default-features = false, features = ["macros", "net", "time", "rt-multi-thread"] }
5454
xml-rs = "0.8"
5555

5656
[build-dependencies]

0 commit comments

Comments
 (0)