Skip to content

Commit 6ce50c3

Browse files
committed
allow unused for MAX_FETCH_MSG_SIZE
1 parent 85367bf commit 6ce50c3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/download.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ pub(crate) const PRE_MESSAGE_ATTACHMENT_SIZE_THRESHOLD: u64 = 140_000;
2626
/// Max message size to be fetched in the background.
2727
/// This limit defines what messages are fully fetched in the background.
2828
/// This is for all messages that don't have the full message header.
29+
#[allow(unused)]
2930
pub(crate) const MAX_FETCH_MSG_SIZE: usize = 1_000_000;
3031

3132
/// Max size for pre messages. A warning is emitted when this is exceeded.

0 commit comments

Comments
 (0)