activejob-traffic_control icon indicating copy to clipboard operation
activejob-traffic_control copied to clipboard

Suo::LockClientError

Open dkdelosreyes opened this issue 5 years ago • 3 comments

Hi @nickelser

This error is happening on production only. Could this be a cause of missing this code below in the configs?

ActiveJob::TrafficControl.client = ConnectionPool.new(size: 5, timeout: 5) { Redis.new }

dkdelosreyes avatar Dec 17 '18 15:12 dkdelosreyes

Yes, I had that issue in Heroku and by placing that code into the app it works.

richpeck avatar Mar 26 '19 08:03 richpeck

Just had this same issue, if you don't have Redis running, or defined in your project then you will get this error. It would be nice if this error was more clear, i.e. CannotConnectError

corymcdonald avatar Jun 29 '20 19:06 corymcdonald

Documentation needs to tell that the line above is required.

elioncho avatar May 12 '22 15:05 elioncho