Prevent config reload after initial save.

This commit is contained in:
XMRig 2019-02-15 07:06:48 +07:00
parent f4d2dec628
commit 14e7c82512
6 changed files with 31 additions and 13 deletions

View file

@ -74,13 +74,7 @@ xmrig::CommonConfig::CommonConfig() :
m_colors(true),
m_dryRun(false),
m_syslog(false),
# ifdef XMRIG_PROXY_PROJECT
m_watch(true),
# else
m_watch(false), // TODO: enable config file watch by default when this feature propertly handled and tested.
# endif
m_apiPort(0),
m_donateLevel(kDefaultDonateLevel),
m_printTime(60),