detect thread status

add API params
This commit is contained in:
BreakWa11 2016-06-03 20:56:59 +08:00
parent 82ffa15a56
commit 91576d1e08
5 changed files with 29 additions and 17 deletions

View file

@ -1,12 +1,24 @@
#Config
# Config
TRANSFER_MUL = 1.0
API_INTERFACE = 'mysql'
# Mysql
MYSQL_HOST = 'mdss.mengsky.net'
MYSQL_PORT = 3306
MYSQL_USER = 'ss'
MYSQL_PASS = 'ss'
MYSQL_DB = 'shadowsocks'
MYSQL_TRANSFER_MUL = 1.0
MYSQL_UPDATE_TIME = 60
# API
API_URL = 'breakwa11.org'
API_PORT = 80
API_PATH = '/mu/v2/'
API_TOKEN = 'abcdef'
API_NODE_ID = 'id001'
API_UPDATE_TIME = 60
# Manager (ignore this)
MANAGE_PASS = 'ss233333333'
#if you want manage in other server you should set this value to global ip
MANAGE_BIND_IP = '127.0.0.1'