简体   繁体   English

Heroku Postgres:连接太多。 我如何为 TEAM/ORGANIZATION 终止这些连接?

[英]Heroku Postgres: Too many connections. How do I kill these connections for TEAM/ORGANIZATION?

I needed to find an answer to it and wasn't able to, so I decided to share it with you.我需要找到答案但无法找到,所以我决定与您分享。

You need to have Heroku CLI on your machine.您需要在您的机器上安装 Heroku CLI。

Authorize using heroku login .使用heroku login授权。 After type输入后

heroku apps -t team-name

After you'll see apps on your team.在您看到团队中的应用程序之后。 Copying the app name we need复制我们需要的应用名称

heroku pg:killall --app appName

We paste the app name we need.我们粘贴我们需要的应用程序名称。 Congrats you have killed all yours connections.恭喜你杀死了你所有的联系。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM