mirror of
https://github.com/sot-tech/mochi.git
synced 2026-04-27 08:00:00 -07:00
initial redis work, storage.Storage->storage.Conn,
among other new options in the config file for storage timeouts
This commit is contained in:
@@ -1,11 +1,16 @@
|
||||
{
|
||||
|
||||
"network": "tcp",
|
||||
"addr": ":34000",
|
||||
"storage": {
|
||||
"driver": "redis",
|
||||
"addr": "127.0.0.1:6379",
|
||||
"user": "root",
|
||||
"pass": ""
|
||||
"pass": "",
|
||||
|
||||
"conn_timeout": "5s",
|
||||
"read_timeout": "5s",
|
||||
"write_timeout": "5s"
|
||||
},
|
||||
|
||||
"private": true,
|
||||
|
||||
Reference in New Issue
Block a user