Skip to content

Commit

Permalink
Disable unicorn preload_app in development environment
Browse files Browse the repository at this point in the history
  • Loading branch information
Tray Torrance committed Jan 21, 2012
1 parent fd37034 commit e75c55d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions config/unicorn.rb
Expand Up @@ -7,8 +7,8 @@

worker_processes = rails_env == 'production' ? 3 : 1

## Load the app before spawning workers
preload_app true
## Load the app before spawning workers if not in development
preload_app = rails_env == 'development' ? false : true

# How long to wait before killing an unresponsive worker
timeout 30
Expand Down

0 comments on commit e75c55d

Please sign in to comment.