myjsondb/config.toml.sample

32 lines
367 B
Plaintext

runmode = "webapi"
[webapi]
host = "127.0.0.1"
port = 3032
[[limit]]
enable = true
speed = 5
wait100ms = 6000
wait1s = 8000
wait10s = 30000
[console]
emacsmode = true
softstop = true
[db]
host = "127.0.0.1"
port = 3306
user = "myjsondb"
passwd = "<your passwd>"
dbname = "myjsondb"
minsize = 100
maxsize = 100
[log]
path = "log.log"
level = "info"
color = true