Skip to content

Commit

Permalink
actually start up the service provider (#4177)
Browse files Browse the repository at this point in the history
  • Loading branch information
d80tb7 authored Jan 30, 2025
1 parent fcee91c commit 4f14d0a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion internal/scheduler/schedulerapp.go
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,9 @@ func Run(config schedulerconfig.Configuration) error {
if err != nil {
return errors.WithMessage(err, "Error creating priority multiplier client")
}
priorityMultiplierProvider = prioritymultiplier.NewServiceProvider(priorityMultiplierClient, config.PriorityMultiplier.UpdateFrequency)
provider := prioritymultiplier.NewServiceProvider(priorityMultiplierClient, config.PriorityMultiplier.UpdateFrequency)
services = append(services, func() error { return provider.Run(ctx) })
priorityMultiplierProvider = provider
}

// ////////////////////////////////////////////////////////////////////////
Expand Down

0 comments on commit 4f14d0a

Please sign in to comment.