Add support for specifying max slave count via SPORK_SLAVES_COUNT #216

Closed
wants to merge 1 commit into
from

Conversation

Projects
None yet
3 participants
Contributor

jarmo commented Oct 27, 2012

Add support for specifying max magazine slave count via SPORK_SLAVES_COUNT environment variable.

+1

I implemented a version of this feature in a situation where I was using JRUBY which forced the magazine strategy and our team loads some test data into the test database as a part of loading spec_helper.rb.

Having multiple spork slaves caused problems because both slaves tried to load the test data into the test database and caused conflicts. We needed to force it to a single slave to make it work.

This should be an environment variable, or command line switch or something.

Contributor

sahilm commented Sep 14, 2013

Closing old pull requests. Please send new ones if this is still an issue.

sahilm closed this Sep 14, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment