From a77b58e3514553cf1e44245b7cf95b48b883e171 Mon Sep 17 00:00:00 2001 From: Toshio Kuratomi Date: Fri, 19 Jun 2015 11:52:06 -0700 Subject: [PATCH] Bumpt the BUFSIZE to 64k for better performance --- lib/ansible/plugins/connections/jail.py | 2 +- lib/ansible/plugins/connections/zone.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/ansible/plugins/connections/jail.py b/lib/ansible/plugins/connections/jail.py index bbe1613f7e..4a47d5101e 100644 --- a/lib/ansible/plugins/connections/jail.py +++ b/lib/ansible/plugins/connections/jail.py @@ -28,7 +28,7 @@ from ansible import errors from ansible.callbacks import vvv import ansible.constants as C -BUFSIZE = 4096 +BUFSIZE = 65536 class Connection(object): ''' Local BSD Jail based connections ''' diff --git a/lib/ansible/plugins/connections/zone.py b/lib/ansible/plugins/connections/zone.py index 9aaeb5471e..ffcabfca5f 100644 --- a/lib/ansible/plugins/connections/zone.py +++ b/lib/ansible/plugins/connections/zone.py @@ -29,7 +29,7 @@ from ansible import errors from ansible.callbacks import vvv import ansible.constants as C -BUFSIZE = 4096 +BUFSIZE = 65536 class Connection(object): ''' Local zone based connections '''