Skip to content

Disable Rack::Attack throttling by default in Component::Gitlab

George Koltsov requested to merge disable-rack-attack-throttling into master

This disables the Rack::Attack throttling by default in Component::Gitlab. See https://docs.gitlab.com/ee/security/rack_attack.html#protected-paths-throttle.

For now, I don't think we have any scenarios that test the throttling itself so I thought it's acceptable to disable it by default entirely like that.

In the future, we could change the #omnibus_config= method so that the default config wouldn't be appended on the case we want to test the throttling.

Closes https://gitlab.com/gitlab-org/gitlab/issues/34212.

Edited by George Koltsov

Merge request reports