git-hulk commented on code in PR #3294:
URL: https://github.com/apache/kvrocks/pull/3294#discussion_r2621841623
##########
src/config/config.cc:
##########
@@ -233,6 +233,7 @@ Config::Config() {
{"log-retention-days", true, new IntField(&log_retention_days, -1, -1,
INT_MAX)},
{"persist-cluster-nodes-enabled", false, new
YesNoField(&persist_cluster_nodes_enabled, true)},
{"redis-cursor-compatible", false, new
YesNoField(&redis_cursor_compatible, true)},
+ {"redis-databases", true, new IntField(&redis_databases, 0, 0, 10000)},
Review Comment:
Yes, it's INT_MAX(2^31 - 1) in Redis open source version. Perhaps we should
follow this value.
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]