#636 Add inmemory cache for env
Pull request opened by
zhuoyuan-liu
This PR introduces an in-memory cache to store parameters that rarely change, reducing the number of requests to the backend database. However, it should only be used for bounded values—such as the environment and node key—because the cache is currently unbounded and may grow indefinitely, potentially leading to OOMKilled errors.
At this point, the cache has been added for the
environment
value only.
jmpsec/osctrl