Fix not used constant in lru_test_mode.

LRU_CYCLE_PERIOD is defined,but not used.
This commit is contained in:
qetu3790
2020-03-05 12:51:15 +01:00
committed by antirez
parent 6ef018785b
commit 4af0d7fd94
+1 -1
View File
@@ -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];