Decreased the size of the batches to send, as it froze the interface too much.

This commit is contained in:
Jaime van Kessel 2017-03-30 16:59:35 +02:00
parent 7ae8d96775
commit 06fff748e3

View file

@ -791,7 +791,7 @@ class NetworkPrinterOutputDevice(PrinterOutputDevice):
self._compressing_print = True
## Mash the data into single string
max_chars_per_line = 1024*1024*2 # 2 MB
max_chars_per_line = 1024 * 1024 / 4 # 1 / 4 MB
byte_array_file_data = b""
batched_line = ""