Module Values.SchedulingConfigurationSource

The scheduling configuration for a queue. Defines the strategy used to assign workers to jobs.

Sourcetype nonrec t = {
  1. priorityFifo : PriorityFifoSchedulingConfiguration.t option;
    (*

    Workers are assigned to the highest-priority job first. When multiple jobs share the same priority, the job submitted earliest receives workers first. This is the default scheduling configuration for new queues.

    *)
  2. priorityBalanced : PriorityBalancedSchedulingConfiguration.t option;
    (*

    Workers are distributed evenly across all jobs at the highest priority level. When workers cannot be evenly divided, the extra workers are assigned to the jobs submitted earliest. If a job has fewer remaining tasks than its share of workers, the surplus workers are redistributed to other jobs at the same priority level.

    *)
  3. weightedBalanced : WeightedBalancedSchedulingConfiguration.t option;
    (*

    Workers are assigned to jobs based on a weighted formula that considers job priority, error count, submission time, and the number of tasks currently rendering. Each factor has a configurable weight that determines its influence on scheduling decisions.

    *)
}
Sourceval make : ?priorityFifo:??? -> ?priorityBalanced:??? -> ?weightedBalanced:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Structure of (string * [> `Double of SchedulingPriorityWeight.t | `Integer of SchedulingRenderingTaskBuffer.t | `Structure of (string * [> `Structure of 'a list ]) list ]) list ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t