From d55ca9eae9d254cc1e456eada24d348d3e2e0c15 Mon Sep 17 00:00:00 2001 From: bmalinowsky Date: Fri, 22 Mar 2024 11:36:20 +0100 Subject: [PATCH] Option configures reconnect attempts --- src/io/calimero/tools/Main.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/io/calimero/tools/Main.java b/src/io/calimero/tools/Main.java index f74873a..0b71b8d 100644 --- a/src/io/calimero/tools/Main.java +++ b/src/io/calimero/tools/Main.java @@ -358,7 +358,7 @@ else if (isOption(arg, "json", null)) options.put("json", null); else if (isOption(arg, "reconnect-delay", null)) options.put("reconnectDelay", Duration.ofSeconds(Long.parseLong(i.next()))); - else if (isOption(arg, "max-connect-attempts", null)) + else if (isOption(arg, "max-reconnect-attempts", null)) options.put("maxConnectAttempts", Long.parseLong(i.next())); else return false;