Skip to content

Commit

Permalink
enable threadsafe in production
Browse files Browse the repository at this point in the history
  • Loading branch information
igrigorik committed Jun 20, 2010
1 parent a393b84 commit b3b2c0b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions config/database.yml
Expand Up @@ -3,7 +3,7 @@
development:
adapter: em_mysqlplus
database: widgets
pool: 10
pool: 200
timeout: 5000

# Warning: The database defined as "test" will be erased and
Expand All @@ -16,7 +16,7 @@ test:
timeout: 5000

production:
adapter: sqlite3
database: db/production.sqlite3
pool: 5
adapter: em_mysqlplus
database: widgets
pool: 200
timeout: 5000
2 changes: 1 addition & 1 deletion config/environments/production.rb
Expand Up @@ -38,7 +38,7 @@
# config.action_mailer.raise_delivery_errors = false

# Enable threaded mode
# config.threadsafe!
config.threadsafe!

# Enable locale fallbacks for I18n (makes lookups for any locale fall back to
# the I18n.default_locale when a translation can not be found)
Expand Down

0 comments on commit b3b2c0b

Please sign in to comment.