feat(data): add usage gate thresholds and task run model column
Adds AppSettings.UsageGateFiveHourPct/UsageGateSevenDayPct (defaults 80/90, clamped 0..100 in UpdateAsync) and a nullable TaskRunEntity.Model column, laying the data foundation for the usage monitor. No worker/UI changes.
This commit is contained in:
@@ -18,6 +18,7 @@ public sealed class TaskRunEntity
|
||||
public string? LogPath { get; set; }
|
||||
public DateTime? StartedAt { get; set; }
|
||||
public DateTime? FinishedAt { get; set; }
|
||||
public string? Model { get; set; }
|
||||
|
||||
// Navigation property
|
||||
public TaskEntity Task { get; set; } = null!;
|
||||
|
||||
Reference in New Issue
Block a user