diff --git a/config/cable.yml b/config/cable.yml index 0bbde6f74..549d7011b 100644 --- a/config/cable.yml +++ b/config/cable.yml @@ -4,6 +4,10 @@ development: test: adapter: async +stage: &stage + adapter: redis + url: redis://localhost:6379/1 + production: adapter: redis url: redis://localhost:6379/1 diff --git a/config/environments/stage.rb b/config/environments/stage.rb index d0d09dcff..6760d6ac7 100644 --- a/config/environments/stage.rb +++ b/config/environments/stage.rb @@ -6,7 +6,7 @@ # In the development environment your application's code is reloaded on # every request. This slows down response time but is perfect for development # since you don't have to restart the web server when you make code changes. - config.active_job.queue_adapter = :sidekiq + config.active_job.queue_adapter = :inline config.cache_classes = false # Do not eager load code on boot. config.eager_load = false