Skip to content

Commit

Permalink
Set :puma_preload_app to false
Browse files Browse the repository at this point in the history
Since the default number of workers is zero, preload_app default config should be false
  • Loading branch information
rafaelgoulart committed May 17, 2015
1 parent 0feaab5 commit 013bb17
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/capistrano/tasks/puma.cap
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ namespace :load do
set :puma_access_log, -> { File.join(shared_path, 'log', 'puma_access.log') }
set :puma_error_log, -> { File.join(shared_path, 'log', 'puma_error.log') }
set :puma_init_active_record, false
set :puma_preload_app, true
set :puma_preload_app, false

# Rbenv and RVM integration
set :rbenv_map_bins, fetch(:rbenv_map_bins).to_a.concat(%w{ puma pumactl })
Expand Down

0 comments on commit 013bb17

Please sign in to comment.