diff options
author | Sean McGivern <sean@mcgivern.me.uk> | 2018-11-07 16:21:17 +0000 |
---|---|---|
committer | Sean McGivern <sean@mcgivern.me.uk> | 2018-11-07 16:21:17 +0000 |
commit | cd6450923f72538a7a28b7c16cf9a2e38a5115ec (patch) | |
tree | 021dde9e03060dcc504ff0b70a16ac99106d12d7 /config/routes.rb | |
parent | 8a55e477adac8c41aaa281dc119f9007a0c20451 (diff) | |
parent | 673f06253d1e799a8024b18270c1a7279fabe9b8 (diff) | |
download | gitlab-ce-cd6450923f72538a7a28b7c16cf9a2e38a5115ec.tar.gz |
Merge branch '52767-more-chaos-for-gitlab' into 'master'
Add more chaos to GitLab
Closes #53362 and #52767
See merge request gitlab-org/gitlab-ce!22746
Diffstat (limited to 'config/routes.rb')
-rw-r--r-- | config/routes.rb | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/config/routes.rb b/config/routes.rb index d2d91647d0b..484e05114be 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -82,6 +82,13 @@ Rails.application.routes.draw do draw :operations draw :instance_statistics + + if ENV['GITLAB_ENABLE_CHAOS_ENDPOINTS'] + get '/chaos/leakmem' => 'chaos#leakmem' + get '/chaos/cpuspin' => 'chaos#cpuspin' + get '/chaos/sleep' => 'chaos#sleep' + get '/chaos/kill' => 'chaos#kill' + end end concern :clusterable do |