@@ -518,7 +518,7 @@ void loadServerConfigFromString(char *config) {
518
518
err = " KeyDB not compliled with scratch-file support." ;
519
519
goto loaderr;
520
520
#endif
521
- } else if (!strcasecmp (argv[0 ]," server-threads" ) && argc == 2 ) {
521
+ } else if (( !strcasecmp (argv[0 ]," server-threads" ) || ! strcasecmp (argv[ 0 ], " io-threads " ) ) && argc == 2 ) {
522
522
cserver.cthreads = atoi (argv[1 ]);
523
523
if (cserver.cthreads <= 0 || cserver.cthreads > MAX_EVENT_LOOPS) {
524
524
err = " Invalid number of threads specified" ;
@@ -2185,6 +2185,7 @@ static int updateTlsCfgBool(int val, int prev, const char **err) {
2185
2185
}
2186
2186
#endif /* USE_OPENSSL */
2187
2187
2188
+ int fDummy = false ;
2188
2189
standardConfig configs[] = {
2189
2190
/* Bool configs */
2190
2191
createBoolConfig (" rdbchecksum" , NULL , IMMUTABLE_CONFIG, g_pserver->rdb_checksum , 1 , NULL , NULL ),
@@ -2200,6 +2201,7 @@ standardConfig configs[] = {
2200
2201
createBoolConfig (" lazyfree-lazy-eviction" , NULL , MODIFIABLE_CONFIG, g_pserver->lazyfree_lazy_eviction , 0 , NULL , NULL ),
2201
2202
createBoolConfig (" lazyfree-lazy-expire" , NULL , MODIFIABLE_CONFIG, g_pserver->lazyfree_lazy_expire , 0 , NULL , NULL ),
2202
2203
createBoolConfig (" lazyfree-lazy-server-del" , NULL , MODIFIABLE_CONFIG, g_pserver->lazyfree_lazy_server_del , 0 , NULL , NULL ),
2204
+ createBoolConfig (" lazyfree-lazy-user-del" , NULL , MODIFIABLE_CONFIG, g_pserver->lazyfree_lazy_user_del , 0 , NULL , NULL ),
2203
2205
createBoolConfig (" repl-disable-tcp-nodelay" , NULL , MODIFIABLE_CONFIG, g_pserver->repl_disable_tcp_nodelay , 0 , NULL , NULL ),
2204
2206
createBoolConfig (" repl-diskless-sync" , NULL , MODIFIABLE_CONFIG, g_pserver->repl_diskless_sync , 0 , NULL , NULL ),
2205
2207
createBoolConfig (" aof-rewrite-incremental-fsync" , NULL , MODIFIABLE_CONFIG, g_pserver->aof_rewrite_incremental_fsync , 1 , NULL , NULL ),
0 commit comments