Julie
Julie

Reputation: 2011

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?

Upvotes: 1

Views: 236

Answers (1)

John Beynon
John Beynon

Reputation: 37507

no, setting a config var on an application restarts the whole application, you cannot set vars just for an individual process type.

Upvotes: 2

Related Questions