Skip to content

Commit

Permalink
Fixes #29782: Drop Passenger work arounds
Browse files Browse the repository at this point in the history
  • Loading branch information
ehelms authored and tbrisker committed Apr 19, 2021
1 parent bf56104 commit 66e3901
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
6 changes: 0 additions & 6 deletions config/application.rb
Expand Up @@ -362,12 +362,6 @@ def dynflow

def init_dynflow
dynflow.eager_load_actions!

if defined?(PhusionPassenger) && !dynflow.config.lazy_initialization
PhusionPassenger.on_event(:starting_worker_process) do |forked|
dynflow.initialize! if forked
end
end
end

def setup_auditing
Expand Down
2 changes: 0 additions & 2 deletions config/initializers/backtrace_silencers.rb
Expand Up @@ -9,7 +9,5 @@
!(Foreman::Plugin.all.any? { |plugin| !plugin.name.nil? && line.include?(plugin.name) })
end

Rails.backtrace_cleaner.add_silencer { |line| line =~ /passenger/ }

# You can also remove all the silencers if you're trying do debug a problem that might steem from framework code.
# Rails.backtrace_cleaner.remove_silencers!

0 comments on commit 66e3901

Please sign in to comment.