From 68550f0f5059cf2ee60bf652d2be581e37eed160 Mon Sep 17 00:00:00 2001 From: Christian Schwarz Date: Wed, 20 Nov 2024 18:41:31 +0100 Subject: [PATCH] async-timer 1.0.0-beta15 with features=tokio1 Best batching factor so far with no worse degradation of un-batchable workloads than the other candidates. https://www.notion.so/neondatabase/benchmarking-notes-143f189e004780c4a630cb5f426e39ba?pvs=4#144f189e004780c0921fe99e1da0e8c9 --- Cargo.lock | 1 + Cargo.toml | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Cargo.lock b/Cargo.lock index e4f6a87b76..56f74bcdac 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -252,6 +252,7 @@ checksum = "1d420af8e042475e58a20d91af8eda7d6528989418c03f3f527e1c3415696f70" dependencies = [ "error-code", "libc", + "tokio", "wasm-bindgen", "web-time", ] diff --git a/Cargo.toml b/Cargo.toml index bf4ed0ed82..7797eb29ca 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -47,7 +47,7 @@ anyhow = { version = "1.0", features = ["backtrace"] } arc-swap = "1.6" async-compression = { version = "0.4.0", features = ["tokio", "gzip", "zstd"] } atomic-take = "1.1.0" -async-timer = "1.0.0-beta.15" +async-timer = { version= "1.0.0-beta.15", features = ["tokio1"] } azure_core = { version = "0.19", default-features = false, features = ["enable_reqwest_rustls", "hmac_rust"] } azure_identity = { version = "0.19", default-features = false, features = ["enable_reqwest_rustls"] } azure_storage = { version = "0.19", default-features = false, features = ["enable_reqwest_rustls"] }