diff --git a/deploy.sh b/deploy.sh index b437bce..e207893 100755 --- a/deploy.sh +++ b/deploy.sh @@ -1,6 +1,6 @@ #!/bin/bash python loadbalancer-init.py -sleep 60 +sleep 120 python script_check.py diff --git a/script_check.py b/script_check.py index bac9baa..0ae2fea 100644 --- a/script_check.py +++ b/script_check.py @@ -8,6 +8,7 @@ import logging logging.getLogger().setLevel(logging.INFO) with open('url.txt', 'r') as f: API_URL = f.read() +API_URL+=':80' #add port print(API_URL) UNIT = 5.0 # secs @@ -149,4 +150,4 @@ for i, result in enumerate(results): plt.plot(x, y, label="t%d"%(i,)) plt.legend() -plt.show() \ No newline at end of file +plt.show() diff --git a/url.txt b/url.txt index b1e70a2..35d2278 100644 --- a/url.txt +++ b/url.txt @@ -1 +1 @@ -http://95.217.169.119 \ No newline at end of file +http://95.217.168.116 \ No newline at end of file