Skip to content

Commit

Permalink
Option configures reconnect attempts
Browse files Browse the repository at this point in the history
  • Loading branch information
bmalinowsky committed Mar 30, 2024
1 parent 8b2654f commit d55ca9e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/io/calimero/tools/Main.java
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit d55ca9e

Please sign in to comment.