mirror of
https://github.com/pomerium/pomerium.git
synced 2025-05-10 07:37:33 +02:00
skip configuration updates to the most recent one (#2690)
This commit is contained in:
parent
f22e34c8e0
commit
30664cd307
10 changed files with 667 additions and 5 deletions
|
@ -195,7 +195,8 @@ func (src *ConfigSource) runUpdater(cfg *config.Config) {
|
|||
syncer := databroker.NewSyncer("databroker", &syncerHandler{
|
||||
client: client,
|
||||
src: src,
|
||||
}, databroker.WithTypeURL(grpcutil.GetTypeURL(new(configpb.Config))))
|
||||
}, databroker.WithTypeURL(grpcutil.GetTypeURL(new(configpb.Config))),
|
||||
databroker.WithFastForward())
|
||||
go func() { _ = syncer.Run(ctx) }()
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue