Skip to content

Commit 0748a07

Browse files
committed
timeline cron change
1 parent 1c53ebf commit 0748a07

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

client/cron/CdApplicationStatusUpdateHandler.go

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,11 @@ func NewCdApplicationStatusUpdateHandlerImpl(logger *zap.SugaredLogger, appServi
110110
logger.Errorw("error in starting argo application status update cron job", "err", err)
111111
return nil
112112
}
113+
_, err = cron.AddFunc("@every 1m", impl.ArgoPipelineTimelineUpdate)
114+
if err != nil {
115+
logger.Errorw("error in starting argo application status update cron job", "err", err)
116+
return nil
117+
}
113118
_, err = cron.AddFunc("@every 1m", impl.FluxApplicationStatusUpdate)
114119
if err != nil {
115120
logger.Errorw("error in starting argo application status update cron job", "err", err)

0 commit comments

Comments
 (0)