Skip to content

Commit

Permalink
disable YJIT
Browse files Browse the repository at this point in the history
  • Loading branch information
xuanxu committed Oct 8, 2024
1 parent 471162d commit 4a2da28
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions config/environments/production.rb
Original file line number Diff line number Diff line change
Expand Up @@ -111,4 +111,10 @@
# ]
# Skip DNS rebinding protection for the default health check endpoint.
# config.host_authorization = { exclude: ->(request) { request.path == "/up" } }

###
# Enables YJIT as of Ruby 3.3, to bring sizeable performance improvements. If you are
# deploying to a memory constrained environment you may want to set this to `false`.
#++
Rails.application.config.yjit = false
end

0 comments on commit 4a2da28

Please sign in to comment.