I dont think we should read from env in runtime, our current practice does not follow something like this
should our redis data in app_state have been something like a struct with these fields in it, on that we could have the required functions derefed
Originally posted by @ayushjain17 in #797 (comment)
Investigate