基本功能初步完成

master
wufayuan 2 years ago
parent 06e1f4c565
commit ff11f3bfc1

@ -1,5 +1,5 @@
[server]
ip = 127.0.0.1
ip = 10.129.77.113
port = 7777
daemon = True
buffer_size = 8 * 1024 * 1024

@ -4,9 +4,9 @@ from loguru import logger
from dcs.clients.client import Client
start = 9000
ip = '127.0.0.1'
ip = '10.129.77.113'
port = 7777
local_ip = '127.0.0.1'
local_ip = '10.129.77.113'
local_port = None
# 开启的分布节点数量
count = 5

File diff suppressed because one or more lines are too long

@ -6,10 +6,10 @@ import dcs.tools.cookie as cookie
# 获取数据库连接对象
# def mysql_conn(host='10.129.16.173', user='root', passwd='427318Aa', db='test'):
def mysql_conn(host='10.129.16.173', user='root', passwd='427318Aa', db='test'):
# def mysql_conn(host='10.129.16.155', user='root', passwd='427318Aa', db='test'):
# def mysql_conn(host='192.168.43.64', user='root', passwd='427318Aa', db='test'):
def mysql_conn(host='127.0.0.1', user='root', passwd='xwdjzwy5252', db='test'):
# def mysql_conn(host='127.0.0.1', user='root', passwd='xwdjzwy5252', db='test'):
try:
# logger.debug('connecting to database...')
conn = pymysql.connect(host=host, user=user, passwd=passwd, db=db)

Loading…
Cancel
Save