Remove unsupported config

In Sidekiq v7, this field is not recognised and gets passed through to Redis, which also doesn't recognise it and crashes.

It was added to avoid filling up Redis on dev, but it's actually a Sidekiq pro option which needs to be defined on jobs, so I guess it never worked.
This commit is contained in:
David Cook
2023-02-15 12:22:08 +11:00
parent 613c693774
commit d3e0ff269f

View File

@@ -3,7 +3,6 @@
redis_connection_settings = {
url: ENV.fetch("OFN_REDIS_JOBS_URL", "redis://localhost:6381/0"),
network_timeout: 5,
expires_in: Rails.env.development? ? 90.minutes : nil
}
Sidekiq.configure_server do |config|