mirror of
https://github.com/redis/redis.git
synced 2026-05-28 04:02:46 -04:00
Merge pull request #1 from qetu3790/qetu3790-patch-1
Fix not used constant in lru_test_mode.
This commit is contained in:
commit
6f2240aefd
1 changed files with 1 additions and 1 deletions
|
|
@ -7735,7 +7735,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