diff --git a/tools/donate_cpu_lib.py b/tools/donate_cpu_lib.py index d2caabe10..83a0c3cbd 100644 --- a/tools/donate_cpu_lib.py +++ b/tools/donate_cpu_lib.py @@ -16,7 +16,7 @@ import copy # 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.3.48" +CLIENT_VERSION = "1.3.49" # Timeout for analysis with Cppcheck in seconds CPPCHECK_TIMEOUT = 30 * 60 @@ -654,7 +654,7 @@ def upload_results(package, results): print('Uploading results.. ' + str(len(results)) + ' bytes') try: - try_retry(__upload, fargs=('write\n' + package, results + '\nDONE', 'Result'), max_tries=4, sleep_duration=30, sleep_factor=1) + try_retry(__upload, fargs=('write\n' + package, results + '\nDONE', 'Result'), max_tries=20, sleep_duration=15, sleep_factor=1) except Exception as e: print('Result upload failed ({})!'.format(e)) return False @@ -669,7 +669,7 @@ def upload_info(package, info_output): print('Uploading information output.. ' + str(len(info_output)) + ' bytes') try: - try_retry(__upload, fargs=('write_info\n' + package, info_output + '\nDONE', 'Information'), max_tries=3, sleep_duration=30, sleep_factor=1) + try_retry(__upload, fargs=('write_info\n' + package, info_output + '\nDONE', 'Information'), max_tries=20, sleep_duration=15, sleep_factor=1) except Exception as e: print('Information upload failed ({})!'.format(e)) return False