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.
Showing
... | @@ -154,6 +154,7 @@ end | ... | @@ -154,6 +154,7 @@ end |
group :puma do | group :puma do | ||
gem 'puma', '~> 3.12', require: false | gem 'puma', '~> 3.12', require: false | ||
gem 'puma_worker_killer', require: false | gem 'puma_worker_killer', require: false | ||
gem 'rack-timeout', require: false | |||
end | end | ||
# State machine | # State machine | ||
... | ... |
Please register or sign in to comment