Skip to content

Commit 7d00ca9

Browse files
updated default value of concurrency_limit to zero (#2113)
1 parent 96c2bb6 commit 7d00ca9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/flags.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,9 +88,9 @@ DEFINE_uint32(query_slow_log_threshold, 50000, "config the threshold of query sl
8888
DEFINE_string(db_root_path, "/tmp/", "the root path of db");
8989

9090
// thread pool config
91-
DEFINE_int32(put_concurrency_limit, 8, "the limit of put concurrency");
91+
DEFINE_int32(put_concurrency_limit, 0, "the limit of put concurrency");
9292
DEFINE_int32(thread_pool_size, 16, "the size of thread pool for other api");
93-
DEFINE_int32(get_concurrency_limit, 8, "the limit of get concurrency");
93+
DEFINE_int32(get_concurrency_limit, 0, "the limit of get concurrency");
9494
DEFINE_int32(request_max_retry, 3, "max retry time when request error");
9595
DEFINE_int32(request_timeout_ms, 20000, "request timeout");
9696
DEFINE_int32(request_sleep_time, 1000, "the sleep time when request error");

0 commit comments

Comments
 (0)