Skip to content

Commit

Permalink
fix the misuse of settings.hot_lru_pct in process_stat_settings
Browse files Browse the repository at this point in the history
  • Loading branch information
CatKang authored and dormando committed Nov 19, 2015
1 parent 3b60207 commit 561581d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion memcached.c
Original file line number Diff line number Diff line change
Expand Up @@ -2683,7 +2683,7 @@ static void process_stat_settings(ADD_STAT add_stats, void *c) {
APPEND_STAT("hash_algorithm", "%s", settings.hash_algorithm);
APPEND_STAT("lru_maintainer_thread", "%s", settings.lru_maintainer_thread ? "yes" : "no");
APPEND_STAT("hot_lru_pct", "%d", settings.hot_lru_pct);
APPEND_STAT("warm_lru_pct", "%d", settings.hot_lru_pct);
APPEND_STAT("warm_lru_pct", "%d", settings.warm_lru_pct);
APPEND_STAT("expirezero_does_not_evict", "%s", settings.expirezero_does_not_evict ? "yes" : "no");
}

Expand Down

0 comments on commit 561581d

Please sign in to comment.