Skip to content

Commit 92ab7c6

Browse files
committed
donate-cpu: switch to new server
1 parent 27ebff7 commit 92ab7c6

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

tools/donate-cpu.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
# Version scheme (MAJOR.MINOR.PATCH) should orientate on "Semantic Versioning" https://semver.org/
4141
# Every change in this script should result in increasing the version number accordingly (exceptions may be cosmetic
4242
# changes)
43-
CLIENT_VERSION = "1.1.34"
43+
CLIENT_VERSION = "1.1.35"
4444

4545

4646
def check_requirements():
@@ -455,7 +455,7 @@ def upload_info(package, info_output, server_address):
455455
stop_time = None
456456
work_path = os.path.expanduser('~/cppcheck-donate-cpu-workfolder')
457457
package_url = None
458-
server_address = ('cppcheck.osuosl.org', 8000)
458+
server_address = ('cppcheck1.osuosl.org', 8000)
459459
bandwidth_limit = None
460460
max_packages = None
461461
do_upload = True
@@ -521,7 +521,7 @@ def upload_info(package, info_output, server_address):
521521
if not check_requirements():
522522
sys.exit(1)
523523
if bandwidth_limit and isinstance(bandwidth_limit, str):
524-
if subprocess.call(['wget', '--limit-rate=' + bandwidth_limit, '-q', '--spider', 'cppcheck.osuosl.org']) is 2:
524+
if subprocess.call(['wget', '--limit-rate=' + bandwidth_limit, '-q', '--spider', 'cppcheck1.osuosl.org']) is 2:
525525
print('Error: Bandwidth limit value "' + bandwidth_limit + '" is invalid.')
526526
sys.exit(1)
527527
else:

0 commit comments

Comments
 (0)