Permalink
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...
1 parent 393e98a commit 70039d1e912d61407f54813bbebc4f6a543569a7 @dhh dhh committed Jan 6, 2005
Showing with 3 additions and 1 deletion.
  1. +2 −0 railties/CHANGELOG
  2. +1 −1 railties/dispatches/dispatch.rb
View
@@ -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
@@ -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

0 comments on commit 70039d1

Please sign in to comment.