sagemathinc / cocalc

CoCalc: Collaborative Calculation in the Cloud
https://CoCalc.com
Other
1.17k stars 216 forks source link

server_settings: don't do anything if there are no variables #8036

Closed haraldschilly closed 10 hours ago

haraldschilly commented 1 day ago

this is pretty trivial. if none of the environment variables starts with the $PREFIX, do not set any server settings. This avoids one hub resetting all envvars to readonly=false, just because that pod didn't get all variables. also, if no variables are set, this just skips this feature.