lib/mail_room/delivery/sidekiq.rb in mail_room-0.10.1 vs lib/mail_room/delivery/sidekiq.rb in mail_room-0.11.0

- old
+ new

@@ -16,9 +16,16 @@ sentinels = mailbox.delivery_options[:sentinels] queue = mailbox.delivery_options[:queue] || "default" worker = mailbox.delivery_options[:worker] logger = mailbox.logger + if namespace + warn <<~MSG + Redis namespaces are deprecated. This option will be ignored in future versions. + See https://github.com/sidekiq/sidekiq/issues/2586 for more details." + MSG + end + super(redis_url, namespace, sentinels, queue, worker, logger, redis_db) end end attr_accessor :options