diff --git a/preamble_size.py b/preamble_size.py index 9af20795..83e29bc8 100644 --- a/preamble_size.py +++ b/preamble_size.py @@ -14,7 +14,7 @@ import mitogen.sudo router = mitogen.master.Router() context = mitogen.parent.Context(router, 0) -stream = mitogen.ssh.Stream(router, 0, hostname='foo') +stream = mitogen.ssh.Stream(router, 0, max_message_size=0, hostname='foo') print 'SSH command size: %s' % (len(' '.join(stream.get_boot_command())),) print 'Preamble size: %s (%.2fKiB)' % (