Skip to content
This repository has been archived by the owner on Mar 15, 2022. It is now read-only.

[HAL-1382] - allow -1 value in connection TTL #458

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public Widget asWidget() {
form.setNumColumns(2);

NumberBoxItem callTimeout = new NumberBoxItem("callTimeout", "Call Timeout");
NumberBoxItem connectionTTL = new NumberBoxItem("connectionTTL", "Connection TTL");
NumberBoxItem connectionTTL = new NumberBoxItem("connectionTTL", "Connection TTL", -1, Integer.MAX_VALUE);
NumberBoxItem maxRetryInterval = new NumberBoxItem("maxRetryInterval", "Max Retry");
NumberBoxItem retryInterval = new NumberBoxItem("retryInterval", "Retry Interval");
NumberBoxItem reconnect = new NumberBoxItem("reconnectAttempts", "Reconnect Attempts", -1, Integer.MAX_VALUE);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public Widget asWidget() {
form.setNumColumns(2);

NumberBoxItem callTimeout = new NumberBoxItem("callTimeout", "Call Timeout");
NumberBoxItem connectionTTL = new NumberBoxItem("connectionTTL", "Connection TTL");
NumberBoxItem connectionTTL = new NumberBoxItem("connectionTTL", "Connection TTL", -1, Integer.MAX_VALUE);

NumberBoxItem maxRetryInterval = new NumberBoxItem("maxRetryInterval", "Max Retry");
NumberBoxItem retryInterval = new NumberBoxItem("retryInterval", "Retry Interval");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ private void buildForm() {


TextBoxItem connectionAddress= new TextBoxItem("clusterConnectionAddress", "Connection Address");
NumberBoxItem connectionTtl= new NumberBoxItem("connectionTTL", "Connection TTL");
NumberBoxItem connectionTtl= new NumberBoxItem("connectionTTL", "Connection TTL", -1, Integer.MAX_VALUE);

TextBoxItem connectorRef= new TextBoxItem("connectorRef", "Connector Ref");
TextBoxItem groupName= new TextBoxItem("discoveryGroupName", "Discovery Group");
Expand Down