From f3cd597832d6f668379dba54884133cb91358ca8 Mon Sep 17 00:00:00 2001 From: Bartosz Sypytkowski Date: Wed, 6 Nov 2024 10:57:32 +0100 Subject: [PATCH] chore: fix clippy errors --- services/appflowy-collaborate/src/rt_server.rs | 1 + tests/collab/stress_test.rs | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/services/appflowy-collaborate/src/rt_server.rs b/services/appflowy-collaborate/src/rt_server.rs index 50a23324..0c88507b 100644 --- a/services/appflowy-collaborate/src/rt_server.rs +++ b/services/appflowy-collaborate/src/rt_server.rs @@ -259,6 +259,7 @@ where } } +#[allow(dead_code)] fn spawn_handle_unindexed_collabs( indexer_provider: Arc, storage: Arc, diff --git a/tests/collab/stress_test.rs b/tests/collab/stress_test.rs index 55307adc..6a2ea446 100644 --- a/tests/collab/stress_test.rs +++ b/tests/collab/stress_test.rs @@ -46,7 +46,7 @@ async fn run_multiple_text_edits() { // run test scenario let collab = writer.collabs.get(&object_id).unwrap().collab.clone(); - let expected = test_scenario.execute(collab, 25_000).await; + let expected = test_scenario.execute(collab, 10_000).await; // wait for the writer to complete sync writer.wait_object_sync_complete(&object_id).await.unwrap();