eclipse-symphony / symphony

Symphony project
MIT License
35 stars 27 forks source link

Improve logic for background task when there are multiple managers in a vendor #437

Open RemindD opened 3 weeks ago

RemindD commented 3 weeks ago

All the managers share the same ticker now. Poll and Reconcile functions are invoked serially which means a long running Poll function of a manager would block the running of other managers.

https://github.com/eclipse-symphony/symphony/blob/4b50fd5c31f93a390cc2dadc960b0e122a6063ed/coa/pkg/apis/v1alpha2/vendors/vendors.go#L67-L83

msftcoderdjw commented 2 weeks ago

We can use different ticker for background jobs from different managers.