mirror of
https://github.com/Cuprate/cuprate.git
synced 2025-04-23 14:28:18 +00:00
parent
7e8e62135c
commit
4f3d11be1d
1 changed files with 1 additions and 1 deletions
|
@ -77,7 +77,7 @@ pub fn make_fragmented_messages<T: LevinBody>(
|
|||
message: T,
|
||||
) -> Result<Vec<Bucket<T::Command>>, BucketError> {
|
||||
assert!(
|
||||
fragment_size * 2 >= HEADER_SIZE,
|
||||
fragment_size >= 2 * HEADER_SIZE,
|
||||
"Fragment size: {fragment_size}, is too small, must be at least {}",
|
||||
2 * HEADER_SIZE
|
||||
);
|
||||
|
|
Loading…
Reference in a new issue