Skip to content
This repository was archived by the owner on Sep 27, 2019. It is now read-only.

Commit 5386025

Browse files
committed
Fix conflicts; min-max bounds for new setting rpc_port
1 parent 20d6cea commit 5386025

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

src/include/settings/settings.h

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,9 @@ SETTING_int(max_connections,
3333

3434
SETTING_int(rpc_port,
3535
"Peloton rpc port (default: 15445)",
36-
15445,
37-
false, false)
36+
15445,
37+
1024, 65535,
38+
false, false)
3839

3940
// TODO(tianyu): Remove when we change to a different rpc framework
4041
// This is here only because capnp cannot exit gracefully and thus causes
@@ -106,7 +107,8 @@ SETTING_int(monoqueue_worker_pool_size,
106107
SETTING_int(connection_thread_count,
107108
"Number of connection threads (default: std::hardware_concurrency())",
108109
std::thread::hardware_concurrency(),
109-
false, false)
110+
1, 64,
111+
false, false)
110112

111113
SETTING_int(gc_num_threads,
112114
"The number of Garbage collection threads to run",

0 commit comments

Comments
 (0)