added 'waiting' for servers to create
This commit is contained in:
parent
2ce18b73dc
commit
efa0443564
@ -1,6 +1,6 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
python loadbalancer-init.py
|
python loadbalancer-init.py
|
||||||
sleep 60
|
sleep 120
|
||||||
python script_check.py
|
python script_check.py
|
||||||
|
|
||||||
|
@ -8,6 +8,7 @@ import logging
|
|||||||
logging.getLogger().setLevel(logging.INFO)
|
logging.getLogger().setLevel(logging.INFO)
|
||||||
with open('url.txt', 'r') as f:
|
with open('url.txt', 'r') as f:
|
||||||
API_URL = f.read()
|
API_URL = f.read()
|
||||||
|
API_URL+=':80' #add port
|
||||||
print(API_URL)
|
print(API_URL)
|
||||||
UNIT = 5.0 # secs
|
UNIT = 5.0 # secs
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user