Created
March 4, 2016 23:13
-
-
Save eam/f33b22ce3c429c2b9f32 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
m = MultipleCmd.new | |
m.commands = ["ssh foo ls", "ssh bar rsync"] | |
m.perchild_timeout = 10 # ten seconds per command | |
m.global_timeout = 15 # fifteen second timeout for everything | |
m.maxflight = 10 # parallelism | |
result = m.run | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment