From 92c37871102e543bc5e393271a3d1d44aa064ffb Mon Sep 17 00:00:00 2001 From: Paul Masurel Date: Wed, 8 May 2024 09:43:10 +0900 Subject: [PATCH] Update quickwit/quickwit-common/src/runtimes.rs --- .github/workflows/cbench.yml | 4 +++- quickwit/quickwit-common/src/runtimes.rs | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/cbench.yml b/.github/workflows/cbench.yml index 641fe071bbe..cb30ed6e90e 100644 --- a/.github/workflows/cbench.yml +++ b/.github/workflows/cbench.yml @@ -13,11 +13,13 @@ on: # pull request. pull_request_target: +env: + RUSTFLAGS: "--cfg tokio_unstable" + concurrency: group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} cancel-in-progress: true - jobs: tests: name: Benchmark diff --git a/quickwit/quickwit-common/src/runtimes.rs b/quickwit/quickwit-common/src/runtimes.rs index 88a324c4d07..a7bbd1e39c9 100644 --- a/quickwit/quickwit-common/src/runtimes.rs +++ b/quickwit/quickwit-common/src/runtimes.rs @@ -83,7 +83,7 @@ impl Default for RuntimesConfig { } fn start_runtimes(config: RuntimesConfig) -> HashMap { - let disable_lifo_slot: bool = crate::get_from_env("DISABLE_LIFO_SLOT", false); + let disable_lifo_slot: bool = crate::get_from_env("DISABLE_LIFO_SLOT", true); let mut runtimes = HashMap::default(); let mut blocking_runtime_builder = tokio::runtime::Builder::new_multi_thread();