You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
629 B
24 lines
629 B
UT = true |
|
|
|
[Riot] |
|
Dict = "/data/static/riot-search/dictionary.txt" |
|
StopToken = "/data/static/riot-search/stop_tokens.txt" |
|
NumShards = 4 |
|
Timeout = 800 |
|
FlushTime = 10 |
|
|
|
[Mysql] |
|
addr = "172.22.34.101:3306" |
|
dsn = "test_3306:UJPZaGKjpb2ylFx3HNhmLuwOYft4MCAi@tcp(172.22.34.101:3306)/bilibili_archive?timeout=5s&readTimeout=5s&writeTimeout=5s&parseTime=true&loc=Local&charset=utf8" |
|
active = 5 |
|
idle = 2 |
|
idleTimeout ="4h" |
|
queryTimeout = "1s" |
|
execTimeout = "1s" |
|
tranTimeout = "1s" |
|
[mysql.breaker] |
|
window = "3s" |
|
sleep = "100ms" |
|
bucket = 10 |
|
ratio = 0.5 |
|
request = 100 |