crashappsec / con4m

Configuration Language for Mortals
Apache License 2.0
10 stars 1 forks source link

Hot reloading #19

Open viega opened 1 year ago

viega commented 1 year ago

Support hot-reloading in multi-threaded environments (i.e., compare-and-swap out an entire config to avoid concurrency issues).

viega commented 1 year ago

Not that critical; can just reload into a new config object and CAS that object yourself if super important. If we do this, should do it in the context of making everything MT safe instead of expecting people to lock or stick to one thread.