Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorAndrew Newdigate <andrew@gitlab.com>2018-11-01 16:16:21 +0300
committerAndrew Newdigate <andrew@gitlab.com>2018-11-01 16:16:21 +0300
commit83dc8f1c666419434a23e467508061b6897fdfb6 (patch)
tree533374d31f79a3a2742edbeb87e12502cef035e7 /config
parentcfe3cfb370ca112c5cab2af3550cf68c2ec6042d (diff)
Leak memory, spin cpu and kill the process
Diffstat (limited to 'config')
-rw-r--r--config/routes.rb3
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