diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2012-09-12 15:54:06 -0300 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2012-09-12 15:54:06 -0300 |
commit | 85d8b22a713a4bfdb299725b6fbb9cfac7d73b00 (patch) | |
tree | 2eee0fa77a844f75a111eb60384e373a937972ef /railties/lib | |
parent | a25b5f683d6d7c1a9678227c2e067bcf3882bc2c (diff) | |
download | rails-85d8b22a713a4bfdb299725b6fbb9cfac7d73b00.tar.gz rails-85d8b22a713a4bfdb299725b6fbb9cfac7d73b00.tar.bz2 rails-85d8b22a713a4bfdb299725b6fbb9cfac7d73b00.zip |
Remove the queue configuration from the environments templates since the
default is the SynchronousQueue.
Diffstat (limited to 'railties/lib')
-rw-r--r-- | railties/lib/rails/generators/rails/app/templates/config/environments/development.rb.tt | 3 | ||||
-rw-r--r-- | railties/lib/rails/generators/rails/app/templates/config/environments/production.rb.tt | 2 |
2 files changed, 1 insertions, 4 deletions
diff --git a/railties/lib/rails/generators/rails/app/templates/config/environments/development.rb.tt b/railties/lib/rails/generators/rails/app/templates/config/environments/development.rb.tt index ba8f586613..bcd0e7c898 100644 --- a/railties/lib/rails/generators/rails/app/templates/config/environments/development.rb.tt +++ b/railties/lib/rails/generators/rails/app/templates/config/environments/development.rb.tt @@ -41,7 +41,4 @@ # Debug mode disables concatenation and preprocessing of assets. config.assets.debug = true <%- end -%> - - # In development, use an synchronous queue for queueing. - config.queue = Rails::Queueing::SynchronousQueue end diff --git a/railties/lib/rails/generators/rails/app/templates/config/environments/production.rb.tt b/railties/lib/rails/generators/rails/app/templates/config/environments/production.rb.tt index cceb88de39..fdf011a510 100644 --- a/railties/lib/rails/generators/rails/app/templates/config/environments/production.rb.tt +++ b/railties/lib/rails/generators/rails/app/templates/config/environments/production.rb.tt @@ -82,5 +82,5 @@ # Default the production mode queue to an synchronous queue. You will probably # want to replace this with an out-of-process queueing solution. - config.queue = Rails::Queueing::SynchronousQueue + # config.queue = Rails::Queueing::SynchronousQueue end |