Commit a796c9ea41307427463ee3acfd8dfe3682d48946
1 parent
0bee45ae
Exists in
master
Fixed warning with redis 4.8 gem and srem
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
lib/searchkick/relation_indexer.rb
@@ -46,7 +46,7 @@ module Searchkick | @@ -46,7 +46,7 @@ module Searchkick | ||
46 | end | 46 | end |
47 | 47 | ||
48 | def batch_completed(batch_id) | 48 | def batch_completed(batch_id) |
49 | - Searchkick.with_redis { |r| r.srem(batches_key, batch_id) } | 49 | + Searchkick.with_redis { |r| r.srem(batches_key, [batch_id]) } |
50 | end | 50 | end |
51 | 51 | ||
52 | private | 52 | private |