feat(base): Increase the room_info_notable_update_sender capacity.
This broadcast channel can easily be overflowed if more than 100 updates arrive at the time. This patch extends the capacity to 2^16 - 1.
This commit is contained in:
@@ -143,7 +143,7 @@ impl BaseClient {
|
||||
/// previous login call.
|
||||
pub fn with_store_config(config: StoreConfig) -> Self {
|
||||
let (room_info_notable_update_sender, _room_info_notable_update_receiver) =
|
||||
broadcast::channel(100);
|
||||
broadcast::channel(u16::MAX as usize);
|
||||
|
||||
BaseClient {
|
||||
store: Store::new(config.state_store),
|
||||
|
||||
Reference in New Issue
Block a user