WebSocket notification

This commit is contained in:
stephb9959
2022-04-27 15:58:29 -07:00
parent de21bb5927
commit 8ff889e06e

View File

@@ -114,7 +114,7 @@ namespace OpenWifi {
Poco::Thread::trySleep( (long) (When_ - OpenWifi::Now()) * 1000 );
ProvObjects::WebSocketNotification N;
N.content.type = "configuration_update";
N.content.type = "venue_configuration_update";
Logger().information(fmt::format("Job {} Starting.", JobId_));
@@ -127,6 +127,8 @@ namespace OpenWifi {
VenueDeviceConfigUpdater *task= nullptr;
};
N.content.title = fmt::format("Updating {} configurations", Venue.info.name);
std::array<tState,MaxThreads> Tasks;
for(const auto &uuid:Venue.devices) {