commit | dfc8c4d0901d0e72abefdbd2d43e8ce219d8b11b | [log] [tgz] |
---|---|---|
author | Matt Spinler <spinler@us.ibm.com> | Wed Jun 22 16:52:27 2022 -0500 |
committer | Matt Spinler <spinler@us.ibm.com> | Wed Jun 29 18:18:16 2022 +0000 |
tree | 6a64fddcab1fc923cb495fd5a768d5d74959564b | |
parent | 78182482b7f0ca1361472f0ea577360f6f4ad2f8 [diff] |
presence: Only allow loading once If entity manager were to get restarted, the JsonConfig::start() function would be called again which would attempt to load a config on top of an existing one. Fix that by only allowing the config to load once. If someone wanted the config to load again, they could either send the HUP signal or just restart the service. Signed-off-by: Matt Spinler <spinler@us.ibm.com> Change-Id: I1526db17500ffe88408c8bc1f0abba9c4952107b