diff options
author | Andrew Newdigate <andrew@gitlab.com> | 2018-11-01 13:16:21 +0000 |
---|---|---|
committer | Andrew Newdigate <andrew@gitlab.com> | 2018-11-01 13:16:21 +0000 |
commit | 83dc8f1c666419434a23e467508061b6897fdfb6 (patch) | |
tree | 533374d31f79a3a2742edbeb87e12502cef035e7 /config/routes.rb | |
parent | cfe3cfb370ca112c5cab2af3550cf68c2ec6042d (diff) | |
download | gitlab-ce-83dc8f1c666419434a23e467508061b6897fdfb6.tar.gz |
Leak memory, spin cpu and kill the process
Diffstat (limited to 'config/routes.rb')
-rw-r--r-- | config/routes.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/config/routes.rb b/config/routes.rb index 4764b85cc30..d214356f3e9 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -83,7 +83,10 @@ Rails.application.routes.draw do draw :operations draw :instance_statistics + get '/chaos/leakmem' => 'chaos#leakmem' + get '/chaos/cpuspin' => 'chaos#cpuspin' get '/chaos/sleep' => 'chaos#sleep' + get '/chaos/kill' => 'chaos#kill' end draw :api |