首页 > 解决方案 > How to set environment variable on heroku on just workers?

问题描述

I would like to be able to adjust some environment variables on Heroku without making my whole web application restart since they are just applicable to code run on the workers. Is there any way to do this?

标签: heroku

解决方案


不,在应用程序上设置配置变量会重新启动整个应用程序,您不能只为单个进程类型设置变量。


推荐阅读