Skip to content

Commit

Permalink
Merge pull request #322 from matelukas/master
Browse files Browse the repository at this point in the history
Restrict VM redis config to <= 2.4
  • Loading branch information
shortdudey123 authored Apr 25, 2017
2 parents d327ea3 + 303d15f commit c439a24
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/default/redis.conf.erb
Original file line number Diff line number Diff line change
Expand Up @@ -612,7 +612,7 @@ slowlog-log-slower-than <%= @slowloglogslowerthan %>
# You can reclaim memory used by the slow log with SLOWLOG RESET.
slowlog-max-len <%= @slowlogmaxlen %>
<% unless @version[:major].to_i == 2 && @version[:minor].to_i >= 5 || @version[:major].to_i == 3 %>
<% if @version[:major].to_i <= 2 && @version[:minor].to_i <= 4 %>
################################ VIRTUAL MEMORY ###############################

### WARNING! Virtual Memory is deprecated in Redis 2.4
Expand Down

0 comments on commit c439a24

Please sign in to comment.