Skip to content

Commit d8f0806

Browse files
bchaliospapazof
authored andcommitted
Temporarily increase the size of allowed transfers
We need to evaluate what is the best solution here, increasing the allowed transfer size, or instead solving the problem in the protocol level but chunking big transfers. At the moment, we increase the allowed size so that we can make progress. Signed-off-by: Babis Chalios <[email protected]>
1 parent 1d4cdea commit d8f0806

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/proto.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ use protobuf::{CodedInputStream, CodedOutputStream};
1616
use crate::error::{get_rpc_status, Error, Result as TtResult};
1717

1818
pub const MESSAGE_HEADER_LENGTH: usize = 10;
19-
pub const MESSAGE_LENGTH_MAX: usize = 4 << 20;
19+
pub const MESSAGE_LENGTH_MAX: usize = 1 << 30;
2020
pub const DEFAULT_PAGE_SIZE: usize = 4 << 10;
2121

2222
pub const MESSAGE_TYPE_REQUEST: u8 = 0x1;

0 commit comments

Comments
 (0)