Do not do SNTP in standalone mode.

This commit is contained in:
Arthur Britto
2012-09-28 17:46:32 -07:00
parent 7bd25b8688
commit c74cb38e09

View File

@@ -73,7 +73,8 @@ void Application::run()
boost::thread auxThread(boost::bind(&boost::asio::io_service::run, &mAuxService));
auxThread.detach();
mSNTPClient.init(theConfig.SNTP_SERVERS);
if (!theConfig.RUN_STANDALONE)
mSNTPClient.init(theConfig.SNTP_SERVERS);
//
// Construct databases.