letslearn89

Joined

10 Experience
0 Lessons Completed
0 Questions Solved

Activity

Hey Chris, if I have this setup in puma.rb

workers Integer(2)
threads_count = Integer(5)

do I have to set my database.yml pool to 10? (each thread gets their own db connection?)

production:
url: <%= ENV['DATABASE_URL'] %>
pool: 10

logo Created with Sketch.

Ruby on Rails tutorials, guides, and screencasts for web developers learning Ruby, Rails, Javascript, Turbolinks, Stimulus.js, Vue.js, and more. Icons by Icons8

© 2021 GoRails, LLC. All rights reserved.