Skip to content

Commit

Permalink
Merge pull request #4523 from rubygems/segiddins/consistently-use-con…
Browse files Browse the repository at this point in the history
…fig.enable_reloading

Consistently use config.enable_reloading
  • Loading branch information
indirect authored Mar 12, 2024
2 parents e144132 + 4ccbc35 commit 18e5ef7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion config/environments/development.rb
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@
# and benchmarking the application locally. All changes you make to the app
# will require restart.
if ENV['PROFILE']
config.cache_classes = true
config.enable_reloading = false
config.eager_load = true

config.log_level = :info
Expand Down
2 changes: 1 addition & 1 deletion config/environments/oidc-api-token.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
# Settings specified here will take precedence over those in config/application.rb.

# Code is not reloaded between requests.
config.cache_classes = true
config.enable_reloading = false

# Eager load code on boot. This eager loads most of Rails and
# your application in memory, allowing both threaded web servers
Expand Down
2 changes: 1 addition & 1 deletion config/environments/staging.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# Settings specified here will take precedence over those in config/application.rb.

# Code is not reloaded between requests.
config.cache_classes = true
config.enable_reloading = false

# Eager load code on boot. This eager loads most of Rails and
# your application in memory, allowing both threaded web servers
Expand Down

0 comments on commit 18e5ef7

Please sign in to comment.