mirror of
https://github.com/Stone-Red-Code/RemoteExec.git
synced 2026-09-04 09:06:20 +02:00
Improve load balancing and move to pull based model
This commit is contained in:
@@ -4,6 +4,7 @@ public sealed class ServerMetrics
|
||||
{
|
||||
public int ActiveConnections { get; set; }
|
||||
public int ActiveTasks { get; set; }
|
||||
public int MaxConcurrentTasks { get; set; }
|
||||
public long TotalMemoryUsage { get; set; }
|
||||
public double CpuUsage { get; set; }
|
||||
public DateTime Timestamp { get; set; }
|
||||
|
||||
@@ -0,0 +1,7 @@
|
||||
namespace RemoteExec.Shared;
|
||||
|
||||
public class TaskItem
|
||||
{
|
||||
public Guid TaskId { get; set; }
|
||||
public required RemoteExecutionRequest Request { get; set; }
|
||||
}
|
||||
Reference in New Issue
Block a user