Skip to content

Commit

Permalink
modify max group size according to benchmarks/docs
Browse files Browse the repository at this point in the history
  • Loading branch information
insipx committed Jun 12, 2024
1 parent 6f1e693 commit ac575e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xmtp_mls/src/configuration.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const NANOSECONDS_IN_HOUR: i64 = 3_600_000_000_000;

pub const UPDATE_INSTALLATIONS_INTERVAL_NS: i64 = NANOSECONDS_IN_HOUR / 2; // 30 min

pub const MAX_GROUP_SIZE: u8 = 250;
pub const MAX_GROUP_SIZE: u8 = 400;

Check failure on line 19 in xmtp_mls/src/configuration.rs

View workflow job for this annotation

GitHub Actions / workspace

literal out of range for `u8`

error: literal out of range for `u8` --> xmtp_mls/src/configuration.rs:19:32 | 19 | pub const MAX_GROUP_SIZE: u8 = 400; | ^^^ | = note: the literal `400` does not fit into the type `u8` whose range is `0..=255` = note: `#[deny(overflowing_literals)]` on by default

Check failure on line 19 in xmtp_mls/src/configuration.rs

View workflow job for this annotation

GitHub Actions / workspace

literal out of range for `u8`

error: literal out of range for `u8` --> xmtp_mls/src/configuration.rs:19:32 | 19 | pub const MAX_GROUP_SIZE: u8 = 400; | ^^^ | = note: the literal `400` does not fit into the type `u8` whose range is `0..=255` = note: `#[deny(overflowing_literals)]` on by default

pub const DELIMITER: char = '\x01';

Expand Down

0 comments on commit ac575e0

Please sign in to comment.