Sha256: 87cbf851910039e6a6048b45bf65eaaf9a3074bdf47994f659efd97c716fc870
Contents?: true
Size: 712 Bytes
Versions: 7
Compression:
Stored size: 712 Bytes
Contents
# Should match number of CPU Cores workers {{puma_workers}} # Min and Max threads per worker threads 1, 6 # Default to production rails_env = "{{be_app_env}}" environment rails_env # Set up socket location bind "unix://{{puma_sockfile}}" # Logging stdout_redirect "{{be_app_path}}/log/puma.log", "{{be_app_path}}/log/puma.log", true # Set master PID and state locations pidfile "{{ puma_pidfile }}" state_path "{{puma_state_path}}" activate_control_app on_worker_boot do require "active_record" ActiveRecord::Base.connection.disconnect! rescue ActiveRecord::ConnectionNotEstablished ActiveRecord::Base.establish_connection(YAML.load_file("{{be_app_path}}/config/database.yml")["{{be_app_env}}"]) end
Version data entries
7 entries across 7 versions & 1 rubygems