Skip to content

Commit

Permalink
Rename to CommandTotals
Browse files Browse the repository at this point in the history
  • Loading branch information
mythz committed Apr 7, 2024
1 parent 8eefd93 commit 7726034
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion MyApp.ServiceInterface/BackgroundMqServices.cs
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ public object Any(ViewCommands request)
{
LatestCommands = new(AppConfig.CommandResults),
LatestFailed = new(AppConfig.CommandFailures),
Totals = new(AppConfig.CommandTotals.Values)
CommandTotals = new(AppConfig.CommandTotals.Values)
};
if (request.Clear == true)
{
Expand Down
2 changes: 1 addition & 1 deletion MyApp.ServiceInterface/Data/AppConfig.cs
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ public bool HasUnreadAchievements(string? userName)

public bool IsHuman(string? userName) => userName != null && GetModelUser(userName) == null;

public const int DefaultCapacity = 500;
public const int DefaultCapacity = 250;
public ConcurrentQueue<CommandResult> CommandResults { get; set; } = [];
public ConcurrentQueue<CommandResult> CommandFailures { get; set; } = new();

Expand Down
2 changes: 1 addition & 1 deletion MyApp.ServiceInterface/Data/Tasks.cs
Original file line number Diff line number Diff line change
Expand Up @@ -118,8 +118,8 @@ public class ViewCommands : IGet, IReturn<ViewCommandsResponse>
}
public class ViewCommandsResponse
{
public List<CommandSummary> CommandTotals { get; set; }
public List<CommandResult> LatestCommands { get; set; }
public List<CommandResult> LatestFailed { get; set; }
public List<CommandSummary> Totals { get; set; }
public ResponseStatus? ResponseStatus { get; set; }
}

0 comments on commit 7726034

Please sign in to comment.