spring icon indicating copy to clipboard operation
spring copied to clipboard

Allow to override environment on spring client startup

Open mildred opened this issue 4 years ago • 0 comments

Spring.env_override can be set to

  • false (default) for current behaviour
  • true to always override client provided environment variables in the application
  • an array listing the environment variables to override in the application

The after_fork callback can take an ptional argument that contains the Spring provided environment to help the application detect when there is a mismatch between application environment and provided environment.

Fixes #653 and I believe will help with #420 (although a server restart is not performed, only environment overrides)

mildred avatar Sep 28 '21 15:09 mildred