mirror of
https://github.com/xcat2/confluent.git
synced 2024-11-22 09:32:21 +00:00
Try a more straightforward use of tiling
Rather than retiling for every node, defer tiling until the end. This dramatically improves the startup time for a moderate number of systems.
This commit is contained in:
parent
df72bfa715
commit
5eef76f5d3
@ -67,7 +67,7 @@ if options.tile:
|
||||
['tmux', 'split', '-h',
|
||||
'{0} -m 5 start /nodes/{1}/console/session'.format(
|
||||
confettypath, node)])
|
||||
subprocess.call(['tmux', 'select-layout', 'tiled'])
|
||||
subprocess.call(['tmux', 'select-layout', 'tiled'])
|
||||
subprocess.call(['tmux', 'select-pane', '-t', '0'])
|
||||
os.execlp('tmux', 'tmux', 'attach', '-t', 'nodeconsole_{0}'.format(
|
||||
os.getpid()))
|
||||
|
Loading…
Reference in New Issue
Block a user