summaryrefslogtreecommitdiff
path: root/Gemfile
diff options
context:
space:
mode:
authorJan Provaznik <jprovaznik@gitlab.com>2019-05-29 18:53:44 +0000
committerMayra Cabrera <mcabrera@gitlab.com>2019-05-29 18:53:44 +0000
commit6d6bae66dffefeb3f34f2646b0e801b3c1002170 (patch)
tree3f9d88e2b1282418b1e011465d9c4ab6bc50cca4 /Gemfile
parent70d1537dda66da8b319ceefde36195047b26a8fd (diff)
downloadgitlab-ce-6d6bae66dffefeb3f34f2646b0e801b3c1002170.tar.gz
Added rack-timeout for Puma
It assures that requests are aborted after 60 seconds, otherwise an exception is raised. This exception is logged by Sentry, also there is a Prometheus counter for measuring number of requests in each state.
Diffstat (limited to 'Gemfile')
-rw-r--r--Gemfile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Gemfile b/Gemfile
index f5f963bb2ff..66348414506 100644
--- a/Gemfile
+++ b/Gemfile
@@ -154,6 +154,7 @@ end
group :puma do
gem 'puma', '~> 3.12', require: false
gem 'puma_worker_killer', require: false
+ gem 'rack-timeout', require: false
end
# State machine