mirror of
https://github.com/pomerium/pomerium.git
synced 2025-05-25 06:57:11 +02:00
databroker: build config concurrently, option to bypass validation (#4655)
* validation: option to bypass * concurrently build config * add regex_priority_order and route sorting * rm mutex
This commit is contained in:
parent
ab104a643a
commit
bfcc970839
9 changed files with 439 additions and 244 deletions
|
@ -65,7 +65,7 @@ func TestConfigSource(t *testing.T) {
|
|||
OutboundPort: outboundPort,
|
||||
Options: base,
|
||||
})
|
||||
src := NewConfigSource(ctx, baseSource, func(_ context.Context, cfg *config.Config) {
|
||||
src := NewConfigSource(ctx, baseSource, EnableConfigValidation(true), func(_ context.Context, cfg *config.Config) {
|
||||
cfgs <- cfg
|
||||
})
|
||||
cfgs <- src.GetConfig()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue