mirror of
https://github.com/redis/redis.git
synced 2026-05-28 04:02:46 -04:00
Merge pull request #6804 from qetu3790/unstable
Fix not used constant in lru_test_mode.
This commit is contained in:
commit
f88f8661ac
1 changed files with 1 additions and 1 deletions
|
|
@ -7737,7 +7737,7 @@ static void LRUTestMode(void) {
|
|||
* to fill the target instance easily. */
|
||||
start_cycle = mstime();
|
||||
long long hits = 0, misses = 0;
|
||||
while(mstime() - start_cycle < 1000) {
|
||||
while(mstime() - start_cycle < LRU_CYCLE_PERIOD) {
|
||||
/* Write cycle. */
|
||||
for (j = 0; j < LRU_CYCLE_PIPELINE_SIZE; j++) {
|
||||
char val[6];
|
||||
|
|
|
|||
Loading…
Reference in a new issue