added 'waiting' for servers to create

This commit is contained in:
Adrian Charkiewicz 2023-01-25 22:31:45 +01:00
parent 2ce18b73dc
commit efa0443564
3 changed files with 4 additions and 3 deletions

View File

@ -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

View File

@ -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

View File

@ -1 +1 @@
http://95.217.169.119 http://95.217.168.116