donate-cpu.py: show size of results sent to server (#1784)

This commit is contained in:
IOBYTE 2019-04-05 08:11:03 -04:00 committed by Sebastian
parent 0debd8d520
commit 2b6d599f1e
1 changed files with 3 additions and 3 deletions

View File

@ -40,7 +40,7 @@ import platform
# Version scheme (MAJOR.MINOR.PATCH) should orientate on "Semantic Versioning" https://semver.org/
# Every change in this script should result in increasing the version number accordingly (exceptions may be cosmetic
# changes)
CLIENT_VERSION = "1.1.21"
CLIENT_VERSION = "1.1.22"
def checkRequirements():
@ -377,7 +377,7 @@ def sendAll(connection, data):
def uploadResults(package, results, server_address):
print('Uploading results..')
print('Uploading results.. ' + str(len(results)) + ' bytes')
max_retries = 4
for retry in range(max_retries):
try:
@ -398,7 +398,7 @@ def uploadResults(package, results, server_address):
def uploadInfo(package, info_output, server_address):
print('Uploading information output..')
print('Uploading information output.. ' + str(len(info_output)) + ' bytes')
max_retries = 3
for retry in range(max_retries):
try: