Changed Bolls IP

This commit is contained in:
Amazed 2019-02-26 15:13:33 +01:00
parent 8e470c531b
commit c0a19f7e3d

View File

@ -4,7 +4,7 @@ import datetime
import time import time
import traceback import traceback
SERVERS = [{"ip": "163.158.182.243", "port": 19711, "last":datetime.datetime.now()}, {"ip": "73.181.147.35", "port": 19711, "last": datetime.datetime.now()}] SERVERS = [{"ip": "136.143.41.50", "port": 19711, "last":datetime.datetime.now()}, {"ip": "73.181.147.35", "port": 19711, "last": datetime.datetime.now()}]
def main(): def main():
listen_ip = "0.0.0.0" listen_ip = "0.0.0.0"
@ -75,7 +75,7 @@ def cleanloop():
now = datetime.datetime.now() now = datetime.datetime.now()
for server in SERVERS: for server in SERVERS:
if now > server["last"] + datetime.timedelta(minutes=2): if now > server["last"] + datetime.timedelta(minutes=2):
if server["ip"] == "163.158.182.243" or server["ip"] == "73.181.147.35": if server["ip"] == "136.143.41.50" or server["ip"] == "73.181.147.35":
# do not remove usual dedicated servers # do not remove usual dedicated servers
continue continue
print("Deleting %s:%s" % (server["ip"], server["port"])) print("Deleting %s:%s" % (server["ip"], server["port"]))