A platform for community discussion. Free, open, simple.
DEV: Improve Pitchfork workers timeouts (#36165)
Loïc Guitaute8657b447697
diff --git a/config/initializers/100-logster.rb b/config/initializers/100-logster.rbindex 0f4c1a06e73..debcbaf0a66 100644--- a/config/initializers/100-logster.rb+++ b/config/initializers/100-logster.rb@@ -56,6 +56,8 @@ if Rails.env.production?# we handle this cleanly in the message bus middleware# no point logging to logster/RateLimiter::LimitExceeded.*/m,+ # Pitchfork workers call Process.exit when timeouting+ /SystemExit/,]Logster.config.env_expandable_keys.push(:hostname, :problem_db)enddiff --git a/config/pitchfork.conf.rb b/config/pitchfork.conf.rbindex 95630b7733c..7c802350af1 100644--- a/config/pitchfork.conf.rb+++ b/config/pitchfork.conf.rb@@ -135,5 +135,5 @@ after_worker_timeout do |server, worker, timeout_info|#{timeout_info.thread.backtrace&.join("\n")}MSG- Rails.logger.warn(message)+ Rails.logger.error(message)end