Some refactoring for self-tests

This commit is contained in:
Rick Falkvinge
2018-10-28 16:40:01 +01:00
parent 7e7f07ab67
commit 83ecea2af3
4 changed files with 16 additions and 9 deletions
+2 -1
View File
@@ -290,9 +290,10 @@ namespace Swarmops.Frontend.Socket
Console.WriteLine(" - Backend message: " + args.Data);
}
if (messageType == "InternalHeartbeat")
if (messageType == "BackendHeartbeat")
{
_lastBackendHeartBeat = DateTime.UtcNow;
_socketServer.WebSocketServices.Broadcast(args.Data); // send unfiltered to all sessions, for now
}
else
{