Fix invalid arguments being passed to Redis in custom Chewy strategy (#38684)

This commit is contained in:
Claire authored and GitHub committed 2026-04-15 09:54:38 +00:00
1 parent 75bbf73737
commit f6652caef4
1 file changed
+3
+3
View File
@@ -17,6 +17,9 @@ module Chewy
RedisConnection.with do |redis|
redis.pipelined do |pipeline|
@stash.each do |type, ids|
ids = ids&.compact
next if ids.blank?
pipeline.sadd("chewy:queue:#{type.name}", ids)
end
end