mirror of
https://github.com/hatchet-dev/hatchet.git
synced 2026-01-06 00:40:10 -06:00
adds singleton mode to task and dag updates (#1858)
This commit is contained in:
@@ -259,6 +259,7 @@ func (o *OLAPControllerImpl) Start() (func() error, error) {
|
||||
gocron.NewTask(
|
||||
o.runTenantTaskStatusUpdates(ctx),
|
||||
),
|
||||
gocron.WithSingletonMode(gocron.LimitModeReschedule),
|
||||
)
|
||||
|
||||
if err != nil {
|
||||
@@ -271,6 +272,7 @@ func (o *OLAPControllerImpl) Start() (func() error, error) {
|
||||
gocron.NewTask(
|
||||
o.runTenantDAGStatusUpdates(ctx),
|
||||
),
|
||||
gocron.WithSingletonMode(gocron.LimitModeReschedule),
|
||||
)
|
||||
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user