fix: make instance ID required field

This commit is contained in:
garethgeorge
2024-07-01 21:05:50 -07:00
parent 90e0656fc4
commit 7c8ded2fcc
5 changed files with 42 additions and 59 deletions

View File

@@ -15,8 +15,9 @@ import (
var NeverScheduledTask = ScheduledTask{}
const (
PlanForUnassociatedOperations = "_unassociated_"
PlanForSystemTasks = "_system_" // plan for system tasks e.g. garbage collection, prune, stats, etc.
PlanForUnassociatedOperations = "_unassociated_"
InstanceIDForUnassociatedOperations = "_unassociated_"
PlanForSystemTasks = "_system_" // plan for system tasks e.g. garbage collection, prune, stats, etc.
TaskPriorityStats = 0
TaskPriorityDefault = 1 << 1 // default priority