Chunked loading of RDB to prevent redis from stalling reading very large keys.

This commit is contained in:
yoav
2012-12-12 15:59:22 +02:00
committed by antirez
parent 112e763618
commit 9f6f436a51
5 changed files with 45 additions and 15 deletions

View File

@ -1250,6 +1250,7 @@ void initServerConfig() {
server.lua_time_limit = REDIS_LUA_TIME_LIMIT;
server.lua_client = NULL;
server.lua_timedout = 0;
server.loading_process_events_interval_bytes = (1024*1024*2);
updateLRUClock();
resetServerSaveParams();