mirror of
https://github.com/DJ2LS/FreeDATA
synced 2024-05-14 08:04:33 +00:00
improved file transfer during arq session
This commit is contained in:
parent
5553009d74
commit
616fb214d2
|
@ -1555,7 +1555,7 @@ class DATA:
|
||||||
|
|
||||||
self.datachannel_timeout = False
|
self.datachannel_timeout = False
|
||||||
|
|
||||||
# we need to compress data for gettin a compression factor.
|
# we need to compress data for getting a compression factor.
|
||||||
# so we are compressing twice. This is not that nice and maybe there is another way
|
# so we are compressing twice. This is not that nice and maybe there is another way
|
||||||
# for calculating transmission statistics
|
# for calculating transmission statistics
|
||||||
# static.ARQ_COMPRESSION_FACTOR = len(data_out) / len(zlib.compress(data_out))
|
# static.ARQ_COMPRESSION_FACTOR = len(data_out) / len(zlib.compress(data_out))
|
||||||
|
|
Loading…
Reference in a new issue