feat: max-txn-ops option (#3458)

* feat: max-txn-ops limit

* chore: by comment
This commit is contained in:
JeremyHi
2024-03-08 10:34:40 +08:00
committed by GitHub
parent 3f3ef2e7af
commit 352bd7b6fd
14 changed files with 109 additions and 29 deletions

View File

@@ -94,7 +94,7 @@ impl GreptimeDbClusterBuilder {
.split(',')
.map(|s| s.to_string())
.collect::<Vec<String>>();
let backend = EtcdStore::with_endpoints(endpoints)
let backend = EtcdStore::with_endpoints(endpoints, 128)
.await
.expect("malformed endpoints");
// Each retry requires a new isolation namespace.