Commit 3521bf56 by Guba Sándor

set MAX_LENGTH size to handle files bigger than 16k

parent 2b4028dc
......@@ -7,6 +7,7 @@ logger = logging.getLogger()
class SerialLineReceiverBase(LineReceiver, object):
delimiter = '\r'
MAX_LENGTH = 1024*1024*128
def send_response(self, response, args):
self.transport.write(json.dumps({'response': response,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment