Skip to content
This repository has been archived by the owner on Jul 11, 2020. It is now read-only.

Commit

Permalink
don't invoke redis SAVE for backups
Browse files Browse the repository at this point in the history
dwradcliffe committed Dec 10, 2014
1 parent 38e8e3d commit 3aac559
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Berksfile.lock
Original file line number Diff line number Diff line change
@@ -223,7 +223,7 @@ GRAPH
user (>= 0.0.0)
rubygems-apt (0.0.15)
apt (>= 0.0.0)
rubygems-backups (0.0.19)
rubygems-backups (0.0.20)
chef-vault (>= 0.0.0)
rubygems-ruby (>= 0.0.0)
rubygems-balancer (0.0.40)
2 changes: 1 addition & 1 deletion cookbooks/rubygems-backups/metadata.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name 'rubygems-backups'

version '0.0.19'
version '0.0.20'

depends 'chef-vault'
depends 'rubygems-ruby'
2 changes: 1 addition & 1 deletion cookbooks/rubygems-backups/templates/default/redis.rb.erb
Original file line number Diff line number Diff line change
@@ -14,7 +14,7 @@ Backup::Model.new(:redis, 'Redis Backup') do
db.rdb_path = '/var/lib/redis/dump-<%= node['redisio']['servers'][0]['port'] %>.rdb'
db.host = 'localhost'
db.port = <%= node['redisio']['servers'][0]['port'] %>
db.invoke_save = true
db.invoke_save = false
end

compress_with Gzip

0 comments on commit 3aac559

Please sign in to comment.