mirror of
https://github.com/pomerium/pomerium.git
synced 2025-08-02 16:30:17 +02:00
envoy: set re2 limits very high (#4187)
* envoy: set re2 limits very high * fix test
This commit is contained in:
parent
d00ef348eb
commit
083dbea392
2 changed files with 12 additions and 0 deletions
|
@ -134,6 +134,12 @@ func (b *Builder) BuildBootstrapLayeredRuntime() (*envoy_config_bootstrap_v3.Lay
|
|||
"overload": map[string]interface{}{
|
||||
"global_downstream_max_connections": 50000,
|
||||
},
|
||||
"re2": map[string]any{
|
||||
"max_program_size": map[string]any{
|
||||
"error_level": 1024 * 1024,
|
||||
"warn_level": 1024,
|
||||
},
|
||||
},
|
||||
})
|
||||
if err != nil {
|
||||
return nil, fmt.Errorf("envoyconfig: failed to create layered runtime layer: %w", err)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue