我从Heroku上的Redis那里得到了错误“达到客户的最大数量”,我不知道为什么会这样。我使用Sidekiq作为后台工作人员,并且设置为5的并发性。是否有什么东西是我缺少的,导致连接通过?我在自由雷德奥戈计划,我意识到它只允许多达10个连接,但我想知道为什么它要超过这10个在第一。
发布于 2018-10-08 02:59:56
看来我在Sidekiq文档中找到了答案:
Heroku "ERR max number of clients reached"
You've hit the max number of Redis connections allowed by your plan.
Limit the number of redis connections per process in config/sidekiq.yml. For example, if you're on Redis To Go's free Nano plan and want to use the Sidekiq web client, you'll have to set the concurrency down to 3.
:concurrency: 3https://stackoverflow.com/questions/52694809
复制相似问题