From a796c9ea41307427463ee3acfd8dfe3682d48946 Mon Sep 17 00:00:00 2001 From: Andrew Kane Date: Mon, 26 Sep 2022 18:01:37 -0700 Subject: [PATCH] Fixed warning with redis 4.8 gem and srem --- lib/searchkick/relation_indexer.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/searchkick/relation_indexer.rb b/lib/searchkick/relation_indexer.rb index fc7b4bb..ee4c37a 100644 --- a/lib/searchkick/relation_indexer.rb +++ b/lib/searchkick/relation_indexer.rb @@ -46,7 +46,7 @@ module Searchkick end def batch_completed(batch_id) - Searchkick.with_redis { |r| r.srem(batches_key, batch_id) } + Searchkick.with_redis { |r| r.srem(batches_key, [batch_id]) } end private -- libgit2 0.21.0