diff options
author | Mike Gunderloy <MikeG1@larkfarm.com> | 2009-02-09 14:47:18 -0600 |
---|---|---|
committer | Mike Gunderloy <MikeG1@larkfarm.com> | 2009-02-09 14:47:42 -0600 |
commit | 52a650ed7bf593be46614737b3e6456cf09977a5 (patch) | |
tree | f7770f44bebe7c6fafd44e08b9b186d2bb9154a7 /railties | |
parent | 7a1b62ef66d744daf972069f37480ff5ce599baa (diff) | |
download | rails-52a650ed7bf593be46614737b3e6456cf09977a5.tar.gz rails-52a650ed7bf593be46614737b3e6456cf09977a5.tar.bz2 rails-52a650ed7bf593be46614737b3e6456cf09977a5.zip |
Add some clarification of the side effects of threadsafe!
Diffstat (limited to 'railties')
-rw-r--r-- | railties/lib/initializer.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/railties/lib/initializer.rb b/railties/lib/initializer.rb index e3811dd8be..cfd42544b6 100644 --- a/railties/lib/initializer.rb +++ b/railties/lib/initializer.rb @@ -837,7 +837,8 @@ Run `rake gems:install` to install the missing gems. # Enable threaded mode. Allows concurrent requests to controller actions and # multiple database connections. Also disables automatic dependency loading - # after boot + # after boot, and disables reloading code on every request, as these are + # fundamentally incompatible with thread safety. def threadsafe! self.preload_frameworks = true self.cache_classes = true |