I'm looking to implement a "Refresh Config" function where from my admin screen I can trigger my other node instances (on multiple servers) to re-load their config from the database. What's the best way to do this? I was thinking I'd store a flag in redis like reloadConfig = true/false. Then just have a middleware function check this flag and if true, reload the config from database.Anybody do anything similar to this?
Submitted January 30, 2019 at 05:57PM by 64bitHustler
No comments:
Post a Comment