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

Commit 4c06c7e

Browse files
committed
Add some sensible values as min-max bounds
1 parent a3a2a3b commit 4c06c7e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/include/settings/settings.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,14 @@
2121
SETTING_int(port,
2222
"Peloton port (default: 15721)",
2323
15721,
24-
0, 32000,
24+
1024, 65535,
2525
false, false)
2626

2727
// Maximum number of connections
2828
SETTING_int(max_connections,
2929
"Maximum number of connections (default: 64)",
3030
64,
31-
0, 512,
31+
1, 512,
3232
true, true)
3333

3434
SETTING_int(rpc_port,
@@ -111,7 +111,7 @@ SETTING_int(connection_thread_count,
111111
SETTING_int(gc_num_threads,
112112
"The number of Garbage collection threads to run",
113113
1,
114-
0, 128,
114+
1, 128,
115115
true, true)
116116

117117
//===----------------------------------------------------------------------===//

0 commit comments

Comments
 (0)