diff --git a/src/dict.cpp b/src/dict.cpp index 2def6ac5d..5217081ac 100644 --- a/src/dict.cpp +++ b/src/dict.cpp @@ -242,8 +242,8 @@ int dictRehashMilliseconds(dict *d, int ms) { long long start = timeInMilliseconds(); int rehashes = 0; - while(dictRehash(d,100)) { - rehashes += 100; + while(dictRehash(d,1000)) { + rehashes += 1000; if (timeInMilliseconds()-start > ms) break; } return rehashes;