Update Websocket manager to support history of actions tab
This commit is contained in:
parent
f87f7bb2aa
commit
00bec7d6bc
|
@ -68,7 +68,7 @@ public static class RabbitMqManager
|
|||
//Every 15 iterations(30 seconds), the installation sends a heartbit message to the queue
|
||||
if (receivedStatusMessage.Type == MessageType.Heartbit)
|
||||
{
|
||||
Console.WriteLine("This is a heartbit message from installation: " + installationId + " Name of the file is "+ receivedStatusMessage.Timestamp);
|
||||
//Console.WriteLine("This is a heartbit message from installation: " + installationId + " Name of the file is "+ receivedStatusMessage.Timestamp);
|
||||
|
||||
if (receivedStatusMessage.Timestamp != 0)
|
||||
{
|
||||
|
@ -167,7 +167,7 @@ public static class RabbitMqManager
|
|||
if (!WebsocketManager.InstallationConnections.ContainsKey(installationId))
|
||||
{
|
||||
prevStatus = -2;
|
||||
Console.WriteLine("Create new empty list for installation: " + installationId);
|
||||
//Console.WriteLine("Create new empty list for installation: " + installationId);
|
||||
WebsocketManager.InstallationConnections[installationId] = new InstallationInfo
|
||||
{
|
||||
Status = receivedStatusMessage.Status,
|
||||
|
|
Loading…
Reference in New Issue