MJY-HUST commented on code in PR #2768:
URL: https://github.com/apache/brpc/pull/2768#discussion_r1775718161


##########
src/bthread/key.cpp:
##########
@@ -55,6 +55,15 @@ static const uint32_t KEY_1STLEVEL_SIZE = 31;
 // for most projects throughout baidu. 
 static const uint32_t KEYS_MAX = KEY_2NDLEVEL_SIZE * KEY_1STLEVEL_SIZE;
 
+// The maximum length of the KeyTableList. Once this value is exceeded, a
+// portion of the KeyTables will be moved to the global free_keytables list.
+static const uint32_t KEY_TABLE_LIST_SIZE = 10000;

Review Comment:
   均改为gflags可配,10000 -> 5000
   



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@brpc.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@brpc.apache.org
For additional commands, e-mail: dev-h...@brpc.apache.org

Reply via email to