mirror of
https://github.com/zalando/postgres-operator.git
synced 2026-10-03 12:04:31 +02:00
Remove pod dispatcher
This commit is contained in:
@@ -171,10 +171,9 @@ func (c *Controller) initController() {
|
||||
func (c *Controller) Run(stopCh <-chan struct{}, wg *sync.WaitGroup) {
|
||||
c.initController()
|
||||
|
||||
wg.Add(4)
|
||||
wg.Add(3)
|
||||
go c.runPodInformer(stopCh, wg)
|
||||
go c.runPostgresqlInformer(stopCh, wg)
|
||||
go c.podEventsDispatcher(stopCh, wg)
|
||||
go c.clusterResync(stopCh, wg)
|
||||
|
||||
for i := range c.clusterEventQueues {
|
||||
@@ -195,4 +194,4 @@ func (c *Controller) runPostgresqlInformer(stopCh <-chan struct{}, wg *sync.Wait
|
||||
defer wg.Done()
|
||||
|
||||
c.postgresqlInformer.Run(stopCh)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user