Open scarroll32 opened 3 years ago
In the docs it mentions we need to run:
ActiveJob::TrafficControl.client = ConnectionPool.new(size: 5, timeout: 5) { Redis.new } # set poolthresholds as needed
I assume it can just go in any initializer. I have put that in my config/initializers/active_job.rb.
config/initializers/active_job.rb
Is this correct? I'm happy to submit a PR to update the docs.
In the docs it mentions we need to run:
I assume it can just go in any initializer. I have put that in my
config/initializers/active_job.rb
.Is this correct? I'm happy to submit a PR to update the docs.