首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >Sidekiq + Redistogo (on Heroku) -达到的最大客户数

Sidekiq + Redistogo (on Heroku) -达到的最大客户数
EN

Stack Overflow用户
提问于 2018-10-08 02:56:13
回答 1查看 1K关注 0票数 0

我从Heroku上的Redis那里得到了错误“达到客户的最大数量”,我不知道为什么会这样。我使用Sidekiq作为后台工作人员,并且设置为5的并发性。是否有什么东西是我缺少的,导致连接通过?我在自由雷德奥戈计划,我意识到它只允许多达10个连接,但我想知道为什么它要超过这10个在第一。

EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2018-10-08 02:59:56

看来我在Sidekiq文档中找到了答案:

代码语言:javascript
复制
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:  3
票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/52694809

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档