Ability to configure Puma
kyrylo opened this issue · 3 comments
kyrylo commented
In the app that I am running, we use cypress-rails
and cypress-on-rails
. I am trying to set up VCR support. Everything seems to be smooth except the single thread requirement. I need to start the Puma server in single-threaded mode, and it looks like I cannot do so.
This is because lib/cypress-rails/server/puma.rb
hardcodes threads to 0:4
:
cypress-rails
doesn't seem to care about config/puma.rb
either.
Is there a way to override that value? Thanks!
searls commented
I am very confident I did not think very hard about this, if I did at all. If you want to make this configurable via an CYPRESS_RAILS_SERVER_THREADS
env var, I'd support a PR