Skip to content

Commit

Permalink
Merge pull request #48 from wildfoundry/chop-size
Browse files Browse the repository at this point in the history
change chop size
  • Loading branch information
willmcgugan authored Aug 7, 2018
2 parents 8e130a8 + 5711de3 commit 1fc2b4e
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ fi

mkdir -p bin
rm bin/dataplicity
virtualenv -qq .build
virtualenv -qq .build -p Python2.7
source .build/bin/activate
pip -q install pex==1.2.13
echo building ./bin/dataplicity
pex dataplicity --pre -r requirements.txt -o bin/dataplicity -m dataplicity.app:main
pex dataplicity==0.4.30a4 --pre -r requirements.txt -o bin/dataplicity -m dataplicity.app:main
deactivate
echo built dataplicity agent v`./bin/dataplicity version`
2 changes: 1 addition & 1 deletion dataplicity/_version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "0.4.29"
__version__ = "0.4.30"
2 changes: 1 addition & 1 deletion dataplicity/m2m/proxy.py
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ def _copy(self):
while 1:
rfds, wfds, xfds = select.select([master_fd], [], [])
if master_fd in rfds:
data = os.read(self.master_fd, 1024 * 64)
data = os.read(self.master_fd, 1024 * 1024)
self.master_read(data)

def resize_terminal(self, size):
Expand Down
2 changes: 1 addition & 1 deletion dataplicity/portforward.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ class Connection(threading.Thread):
"""Handles a single remote controlled TCP/IP connection."""

# Max to read at-a-time
BUFFER_SIZE = 1024 * 32
BUFFER_SIZE = 1024 * 1024

def __init__(self, close_event, channel, host_port):
"""Initialize the connection, set up callbacks."""
Expand Down

0 comments on commit 1fc2b4e

Please sign in to comment.