feat(storage): add native PostgreSQL runtime and verified offline application import
Build and publish container images / images (push) Failing after 12m29s
Build and publish container images / images (push) Failing after 12m29s
This commit is contained in:
1 parent
96065d1e89
commit
0ba1dcfef0
243 files changed
+21441
-3090
No files matched your search
@@ -39,7 +39,7 @@ func (q schedulerQueue) Started(ctx context.Context, job *dregarnuhr.Job) error
|
||||
return q.store.AddEventLogContext(ctx, job.UUID, job.EventUUID, "info", "execution started")
|
||||
}
|
||||
func (q schedulerQueue) Finish(ctx context.Context, job *dregarnuhr.Job, err error, now time.Time) error {
|
||||
return q.store.FinishEventAt(ctx, job.UUID, err, now)
|
||||
return q.store.FinishClaimedEventAt(ctx, job, err, now)
|
||||
}
|
||||
|
||||
func (s *Server) eventRunner() *dregarnuhr.Runner {
|
||||
@@ -112,6 +112,9 @@ func (s *Server) schedulerLoop() dregarnuhr.Loop {
|
||||
{Name: "initial-preview-sweep", After: 5 * time.Second, Run: func(context.Context, time.Time) error { s.enqueueAllPreviewEvents(); return nil }},
|
||||
{Name: "preview-sweep", Every: 15 * time.Minute, Run: func(context.Context, time.Time) error { s.enqueueAllPreviewEvents(); return nil }},
|
||||
{Name: "history-cleanup", Every: time.Hour, Run: func(context.Context, time.Time) error {
|
||||
if !s.store.SupportsEventHistoryMaintenance() {
|
||||
return nil
|
||||
}
|
||||
settings, err := s.store.GetQueueSettings()
|
||||
if err != nil {
|
||||
return err
|
||||
|
||||
Reference in new issue
Block a user