diff options
| author | Tomasz Kramkowski <tomasz@kramkow.ski> | 2025-07-04 12:56:15 +0200 | 
|---|---|---|
| committer | Tomasz Kramkowski <tomasz@kramkow.ski> | 2025-07-04 12:56:15 +0200 | 
| commit | 37cec514b40b7f1243f98de4e5bb17de04754b0a (patch) | |
| tree | e1ea1bf0a506cc39b10f51a326544ce083ce87b0 | |
| parent | 68839f01cd982f03d7ff95d3180cfae8534dc3eb (diff) | |
| download | mqttr-37cec514b40b7f1243f98de4e5bb17de04754b0a.tar.gz mqttr-37cec514b40b7f1243f98de4e5bb17de04754b0a.tar.xz mqttr-37cec514b40b7f1243f98de4e5bb17de04754b0a.zip  | |
Future note regarding adding MQTT configurables
| -rw-r--r-- | src/config.rs | 1 | 
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)  | 
