mirror of
https://github.com/sot-tech/mochi.git
synced 2026-07-27 09:48:09 -07:00
Set up initial outbound synchronization structure
This commit is contained in:
+2
-2
@@ -39,8 +39,8 @@ type DataStore struct {
|
||||
Encoding string `json:"encoding,omitempty"`
|
||||
Prefix string `json:"prefix,omitempty"`
|
||||
|
||||
MaxIdleConn int `json:"max_idle_conn,omitempty"`
|
||||
IdleTimeout *Duration `json:"idle_timeout,omitempty"`
|
||||
MaxIdleConns int `json:"max_idle_conns,omitempty"`
|
||||
IdleTimeout *Duration `json:"idle_timeout,omitempty"`
|
||||
}
|
||||
|
||||
// Config represents a configuration for a server.Server.
|
||||
|
||||
+1
-1
@@ -12,7 +12,7 @@
|
||||
"pass": "",
|
||||
"prefix": "test:",
|
||||
|
||||
"max_idle_conn": 3,
|
||||
"max_idle_conns": 3,
|
||||
"idle_timeout": "240s"
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user