From 98bb2539bcdb14332c4d6e0dc45cd19e2334dfb4 Mon Sep 17 00:00:00 2001 From: Amit Kumar Mondal Date: Thu, 14 Nov 2024 19:37:55 +0100 Subject: [PATCH] Reduced keep alive interval to 60 secs --- .../bytehue/messaging/mqtt5/provider/MessageClientProvider.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/in.bytehue.messaging.mqtt5.provider/src/main/java/in/bytehue/messaging/mqtt5/provider/MessageClientProvider.java b/in.bytehue.messaging.mqtt5.provider/src/main/java/in/bytehue/messaging/mqtt5/provider/MessageClientProvider.java index a8d7ca5..427a91a 100644 --- a/in.bytehue.messaging.mqtt5.provider/src/main/java/in/bytehue/messaging/mqtt5/provider/MessageClientProvider.java +++ b/in.bytehue.messaging.mqtt5.provider/src/main/java/in/bytehue/messaging/mqtt5/provider/MessageClientProvider.java @@ -119,7 +119,7 @@ public final class MessageClientProvider { long maxDelay() default 600L; @AttributeDefinition(name = "Keep Alive Interval", min = "0", max = "65535") - int keepAliveInterval() default 200; + int keepAliveInterval() default 60; @AttributeDefinition(name = "Flag to enable/disable session expiry") boolean useSessionExpiry() default false;