Add config options for max-bulk-len and max-querybuf-len mainly to support RESTORE of large keys

This commit is contained in:
Oran Agra
2017-12-29 12:43:48 +02:00
parent 60a4f12f8b
commit b509a14c3e
4 changed files with 16 additions and 1 deletions

View File

@ -1388,6 +1388,7 @@ void initServerConfig(void) {
server.active_defrag_threshold_upper = CONFIG_DEFAULT_DEFRAG_THRESHOLD_UPPER;
server.active_defrag_cycle_min = CONFIG_DEFAULT_DEFRAG_CYCLE_MIN;
server.active_defrag_cycle_max = CONFIG_DEFAULT_DEFRAG_CYCLE_MAX;
server.max_bulk_len = CONFIG_DEFAULT_MAX_BULK_LEN;
server.client_max_querybuf_len = PROTO_MAX_QUERYBUF_LEN;
server.saveparams = NULL;
server.loading = 0;