main #22

Merged
ccyj merged 68 commits from sangge/tpre-python:main into main 2023-10-26 14:45:47 +08:00
2 changed files with 2 additions and 2 deletions
Showing only changes of commit 57766a6bf3 - Show all commits

View File

@ -1,3 +1,3 @@
[settings]
server_address = 10.20.14.232:8000
server_address = 110.41.155.96:8000
version = 1.0

View File

@ -319,7 +319,7 @@ def get_own_ip() -> str:
# get node list from central server
def get_node_list(count: int, server_addr: str):
url = "http://" + server_addr + "/server/send_nodes_list?count=" + str(count)
response = requests.get(url)
response = requests.get(url,timeout=3)
# Checking the response
if response.status_code == 200:
print("Success get node list")