Skip to content

Allow duplicate servers in ServerList #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

gavincarr
Copy link

Hi Jamis,

I've got a use case in which I want to be able to run N commands in parallel on the same server, but that seems to be currently disallowed because of the uniquify logic in ServerList - I can't add the same server N times, which is what I want (I think).

I've added an :allow_duplicate_servers option to Session and ServerList to allow this behaviour to be turned off. Can you review/comment? Happy to rework further if this is a direction you're comfortable with.

Cheers,
Gavin

@gavincarr
Copy link
Author

Any thoughts on this Jamis?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant