Skip to content
Merged
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 @@ -456,7 +456,7 @@ cn_selector_thread_nums_of_client_manager=1
# for a while, then ClientManager will throw ClientManagerException if there are no clients after the block time.
# effectiveMode: restart
# Datatype: int
cn_max_client_count_for_each_node_in_client_manager=300
cn_max_client_count_for_each_node_in_client_manager=1000

# The maximum session idle time. unit: ms
# Idle sessions are the ones that performs neither query or non-query operations for a period of time
Expand Down Expand Up @@ -516,7 +516,7 @@ dn_selector_thread_count_of_client_manager=1
# for a while, then ClientManager will throw ClientManagerException if there are no clients after the block time.
# effectiveMode: restart
# Datatype: int
dn_max_client_count_for_each_node_in_client_manager=300
dn_max_client_count_for_each_node_in_client_manager=1000

####################
### REST Service Configuration
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -101,9 +101,9 @@ public static class DefaultProperty {

private DefaultProperty() {}

public static final long WAIT_CLIENT_TIMEOUT_MS = TimeUnit.SECONDS.toMillis(10);
public static final long WAIT_CLIENT_TIMEOUT_MS = TimeUnit.SECONDS.toMillis(30);
public static final long MIN_IDLE_TIME_FOR_CLIENT_MS = TimeUnit.MINUTES.toMillis(1);
public static final long TIME_BETWEEN_EVICTION_RUNS_MS = TimeUnit.MINUTES.toMillis(1);
public static final int MAX_CLIENT_NUM_FOR_EACH_NODE = 300;
public static final int MAX_CLIENT_NUM_FOR_EACH_NODE = 1000;
}
}