R
RunPod6mo ago
justin

Editing Serverless Template ENV Variable

When I edit a serverless template env variable, does it update in real time? Just wondering, I sort-of can't tell, but wondering what is happening under the hood. Do I need to refresh the workers myself, or is it when Idle workers > go active, will autograb new env variables?
2 Replies
ashleyk
ashleyk6mo ago
Updating environment variables doesn't update the workers last I checked, you need to scale your workers down to zero and back up again for the changes to environment variables to be detected. Apparently RunPod are making some improvements to deploy changes to the workers though, but not sure when its coming.
flash-singh
flash-singh6mo ago
scale down to zero or do a new release, we have this in progress to do releases when you update env variables