feat: add job commit service

Sync jobs from job cache table to main job table.
Enables #392
This commit is contained in:
2025-05-16 17:36:33 +02:00
parent 40110580e0
commit d76b1ae75d
3 changed files with 39 additions and 1 deletions

View File

@@ -89,6 +89,8 @@ type ResampleConfig struct {
}
type CronFrequency struct {
// Duration Update Worker [Defaults to '2m']
CommitJobWorker string `json:"commit-job-worker"`
// Duration Update Worker [Defaults to '5m']
DurationWorker string `json:"duration-worker"`
// Metric-Footprint Update Worker [Defaults to '10m']
@@ -150,7 +152,7 @@ type ProgramConfig struct {
// If overwritten, at least all the options in the defaults below must
// be provided! Most options here can be overwritten by the user.
UiDefaults map[string]interface{} `json:"ui-defaults"`
UiDefaults map[string]any `json:"ui-defaults"`
// If exists, will enable dynamic zoom in frontend metric plots using the configured values
EnableResampling *ResampleConfig `json:"enable-resampling"`