mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-28 01:53:25 +00:00
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:
@@ -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|
|
||||
|
||||
Reference in New Issue
Block a user