--only does not work as expected
-
macournoyer
- State changed from new to open
- Tag changed from cluster, config, docs to cluster, config, docs
Sorry for the late reply Jason,
--only w/ sockets already work like you described. --only w/ tcp ports works w/ port number.
I think it's more intuitive this way. But you could make --only w/ tcp ports work w/ port number AND sequence number.
I'm thinking something like this:
if @only < 80 # it's a sequence number else # it's a port number endIt would prevent having more then 80 servers, that's like crazy impossible!
What do you think?
-
Jason May
This sounds fine, and I think it satisfies the does-what-you-expect test.
I changed
with_each_serverincluster.rbto doyield first_port + only.to_i, which treats it always as a sequence number. I've never heard of anyone running more than 80 servers on the same box. -
macournoyer
Can you send a patch for this Jason?
-
Jason May
Done!
My first try at forking a github repo.
My fork, with changes, at http://github.com/jmay/thin/tree...
-
macournoyer
(from [3ffced68bd37defac3aebca75682562249c08e41]) Add changelog for last commit, [#81 --only does not work as expected state:resolved] http://github.com/macournoyer/th...
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.