aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/config.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/config.rs b/src/config.rs
index e70893b..76f65db 100644
--- a/src/config.rs
+++ b/src/config.rs
@@ -137,6 +137,7 @@ impl Config {
if let Some(credentials) = &self.credentials {
options.set_credentials(&credentials.username, &credentials.password);
}
+ // TODO: Make configurable
options.set_keep_alive(Duration::from_secs(5));
options.set_max_packet_size(10 * 1024 * 1024, 10 * 1024 * 1024);
AsyncClient::new(options, 10)