From 5eef76f5d380d93601a0df8f67c21477dd48f232 Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Mon, 3 Dec 2018 15:57:08 -0500 Subject: [PATCH] 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. --- confluent_client/bin/nodeconsole | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/confluent_client/bin/nodeconsole b/confluent_client/bin/nodeconsole index b963ff87..294d9dd7 100755 --- a/confluent_client/bin/nodeconsole +++ b/confluent_client/bin/nodeconsole @@ -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()))