mirror of
https://github.com/zalando/postgres-operator.git
synced 2026-10-05 07:28:31 +02:00
fixing debug logs and raise QueueResyncPeriodTPR
This commit is contained in:
@@ -345,7 +345,7 @@ func (c *Controller) initSharedInformers() {
|
||||
c.postgresTeamInformer = acidv1informer.NewPostgresTeamInformer(
|
||||
c.KubeClient.AcidV1ClientSet,
|
||||
c.opConfig.WatchedNamespace,
|
||||
constants.QueueResyncPeriodTPR,
|
||||
constants.QueueResyncPeriodTPR*6, // 30 min
|
||||
cache.Indexers{})
|
||||
|
||||
c.postgresTeamInformer.AddEventHandler(cache.ResourceEventHandlerFuncs{
|
||||
|
||||
@@ -406,6 +406,7 @@ func (c *Controller) loadPostgresTeams() {
|
||||
}
|
||||
|
||||
c.pgTeamMap.Load(pgTeams)
|
||||
c.logger.Debugf("Internal Postgres Team Cache: %#v", c.pgTeamMap)
|
||||
}
|
||||
|
||||
func (c *Controller) postgresTeamAdd(obj interface{}) {
|
||||
|
||||
Reference in New Issue
Block a user