add sleep at end of online notificaiton loop

This commit is contained in:
Grant Limberg 2025-09-01 09:44:39 -07:00
parent d119547a95
commit e347f895b8

View file

@ -1498,6 +1498,8 @@ void CentralDB::onlineNotificationThread()
catch (std::exception& e) {
fprintf(stderr, "%s: error in onlinenotification thread: %s\n", _myAddressStr.c_str(), e.what());
}
std::this_thread::sleep_for(std::chrono::seconds(10));
}
}