From f28ba49bdaa3b5536f250c06830a160e5588af61 Mon Sep 17 00:00:00 2001 From: Tomasz Kramkowski Date: Sat, 7 Jun 2025 16:47:35 +0100 Subject: max packet size --- src/config.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'src') diff --git a/src/config.rs b/src/config.rs index 9000f01..655ef48 100644 --- a/src/config.rs +++ b/src/config.rs @@ -55,6 +55,7 @@ impl Config { options.set_credentials(&credentials.username, &credentials.password); } options.set_keep_alive(Duration::from_secs(5)); + options.set_max_packet_size(10 * 1024 * 1024, 10 * 1024 * 1024); Client::new(options, 10) } } -- cgit v1.2.3-70-g09d2