Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed WEBrick servlet slowdown over time by restricting the load path…

… reloading to mod_ruby #372

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@342 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information...
commit 70039d1e912d61407f54813bbebc4f6a543569a7 1 parent 393e98a
@dhh dhh authored
Showing with 3 additions and 1 deletion.
  1. +2 −0  railties/CHANGELOG
  2. +1 −1  railties/dispatches/dispatch.rb
View
2  railties/CHANGELOG
@@ -1,5 +1,7 @@
*SVN*
+* Fixed WEBrick servlet slowdown over time by restricting the load path reloading to mod_ruby
+
* Removed Fancy Indexing as a default option on the WEBrick servlet as it made it harder to use various caching schemes
View
2  railties/dispatches/dispatch.rb
@@ -6,5 +6,5 @@
# "/usr/local/lib/ruby/gems/1.8/gems/rails-0.8.0/lib/dispatcher" -- otherwise performance is severely impaired
require "dispatcher"
-ADDITIONAL_LOAD_PATHS.reverse.each { |dir| $:.unshift(dir) if File.directory?(dir) }
+ADDITIONAL_LOAD_PATHS.reverse.each { |dir| $:.unshift(dir) if File.directory?(dir) } if defined?(Apache::RubyRun)
Dispatcher.dispatch
Please sign in to comment.
Something went wrong with that request. Please try again.