From 728cd5db86168a548acabbc13ad0c0808903a2ba Mon Sep 17 00:00:00 2001 From: Ivan Enderlin Date: Wed, 24 May 2023 11:02:06 +0200 Subject: [PATCH] fix(sdk): Restore the size of the SS channel. Because it doesn't solve any problem, it just postpones it, making the whole thing more difficult to debug. --- crates/matrix-sdk/src/sliding_sync/builder.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/matrix-sdk/src/sliding_sync/builder.rs b/crates/matrix-sdk/src/sliding_sync/builder.rs index 9206c0661..6776edc4f 100644 --- a/crates/matrix-sdk/src/sliding_sync/builder.rs +++ b/crates/matrix-sdk/src/sliding_sync/builder.rs @@ -230,7 +230,7 @@ impl SlidingSyncBuilder { let mut delta_token = None; - let (internal_channel_sender, internal_channel_receiver) = channel(256); + let (internal_channel_sender, internal_channel_receiver) = channel(8); let mut lists = BTreeMap::new();