Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
07/17/15 16:57:22 (9 years ago)
Author:
dglaser
Message:

#2388:

HeuristicLab.Services.Hive-3.3:

  • HiveStatisticsGenerator.cs: Jobs that are deleted are now automatically marked as completed in the hive statistics tables. This was added because when a job got paused and deleted afterwards, it would still show up as ongoing job in the hive statistics.
  • Minor changes in NewHiveService.cs

HeuristicLab.Services.WebApp.Statistics-3.3:

  • Expired slaves are now shown as offline (previously the last known state was shown)
  • Adjusted dialog height

HeuristicLab.Services.WebApp-3.3:

  • Changed string.Format to Path.Combine to concate directory paths
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/HiveStatistics/sources/HeuristicLab.Services.WebApp.Statistics/3.3/WebApi/ClientController.cs

    r12584 r12776  
    8383                    UsedMemory = offline ? 0 : clientInfo.UsedMemory,
    8484                    CpuUtilization = offline ? 0 : clientInfo.CpuUtilization,
    85                     State = clientInfo.SlaveState.ToString(),
     85                    State = offline ? SlaveState.Offline.ToString() : clientInfo.SlaveState.ToString(),
    8686                    LastUpdate = clientInfo.Time,
    8787                    GroupId = client.ResourceGroupId,
     
    132132                         UsedMemory = offline ? 0 : clientInfo.UsedMemory,
    133133                         CpuUtilization = offline ? 0 : clientInfo.CpuUtilization,
    134                          State = clientInfo.SlaveState.ToString(),
     134                         State = offline ? SlaveState.Offline.ToString() : clientInfo.SlaveState.ToString(),
    135135                         GroupId = client.ResourceGroupId,
    136136                         GroupName = client.GroupName,
     
    218218                         UsedMemory = offline ? 0 : clientInfo.UsedMemory,
    219219                         CpuUtilization = offline ? 0 : clientInfo.CpuUtilization,
    220                          State = clientInfo.SlaveState.ToString(),
     220                         State = offline ? SlaveState.Offline.ToString() : clientInfo.SlaveState.ToString(),
    221221                         GroupId = client.ResourceGroupId,
    222222                         GroupName = client.GroupName,
Note: See TracChangeset for help on using the changeset viewer.