Skip to content

Commit

Permalink
reorder tests to test undef/nil variant first
Browse files Browse the repository at this point in the history
  • Loading branch information
thejambavan committed Nov 16, 2023
1 parent 442dfdc commit 01d5160
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions templates/redis.conf.epp
Original file line number Diff line number Diff line change
Expand Up @@ -1030,9 +1030,9 @@ aof-rewrite-incremental-fsync <%= bool2str($aof_rewrite_incremental_fsync, 'yes'
# the file will be fsync-ed every 32 MB of data generated. This is useful
# in order to commit the file to the disk more incrementally and avoid
# big latency spikes.
<% unless $rdb_save_incremental_fsync == undef -%>
rdb_save_incremental_fsync: <%= bool2str($rdb_save_incremental_fsync, 'yes', 'no') %>
<% end -%>
<% unless $rdb_save_incremental_fsync == undef { -%>
rdb_save_incremental_fsync <%= bool2str($rdb_save_incremental_fsync, 'yes', 'no') %>
<% } -%>

# Redis Cluster Settings
<% if $cluster_enabled { -%>
Expand Down

0 comments on commit 01d5160

Please sign in to comment.