lib/tally/sweeper.rb in tally-1.0.2 vs lib/tally/sweeper.rb in tally-2.0.0
- old
+ new
@@ -20,10 +20,10 @@
end.compact
end
def sweep!
Tally.redis do |conn|
- purgeable_keys.in_groups_of(25, fill_with = nil).each do |group|
+ purgeable_keys.in_groups_of(25, fill_with = false).each do |group|
conn.pipelined do |pipeline|
group.each do |key|
pipeline.del(key)
end
end