feat(dep/fileindex): enable fileindex in file managing
This commit is contained in:
parent
28b7113d27
commit
dff79ed87f
7 changed files with 111 additions and 44 deletions
|
@ -126,13 +126,14 @@ func TestLoadCfg(t *testing.T) {
|
|||
TokenSecret: "1",
|
||||
},
|
||||
Server: &ServerCfg{
|
||||
Debug: true,
|
||||
Host: "1",
|
||||
Port: 1,
|
||||
ReadTimeout: 1,
|
||||
WriteTimeout: 1,
|
||||
MaxHeaderBytes: 1,
|
||||
PublicPath: "1",
|
||||
Debug: true,
|
||||
Host: "1",
|
||||
Port: 1,
|
||||
ReadTimeout: 1,
|
||||
WriteTimeout: 1,
|
||||
MaxHeaderBytes: 1,
|
||||
PublicPath: "1",
|
||||
SearchResultLimit: 16,
|
||||
},
|
||||
Workers: &WorkerPoolCfg{
|
||||
QueueSize: 1,
|
||||
|
@ -192,13 +193,14 @@ func TestLoadCfg(t *testing.T) {
|
|||
TokenSecret: "4",
|
||||
},
|
||||
Server: &ServerCfg{
|
||||
Debug: false,
|
||||
Host: "4",
|
||||
Port: 4,
|
||||
ReadTimeout: 4,
|
||||
WriteTimeout: 4,
|
||||
MaxHeaderBytes: 4,
|
||||
PublicPath: "4",
|
||||
Debug: false,
|
||||
Host: "4",
|
||||
Port: 4,
|
||||
ReadTimeout: 4,
|
||||
WriteTimeout: 4,
|
||||
MaxHeaderBytes: 4,
|
||||
PublicPath: "4",
|
||||
SearchResultLimit: 16,
|
||||
},
|
||||
Workers: &WorkerPoolCfg{
|
||||
QueueSize: 4,
|
||||
|
@ -260,13 +262,14 @@ func TestLoadCfg(t *testing.T) {
|
|||
TokenSecret: "4",
|
||||
},
|
||||
Server: &ServerCfg{
|
||||
Debug: false,
|
||||
Host: "4",
|
||||
Port: 4,
|
||||
ReadTimeout: 4,
|
||||
WriteTimeout: 4,
|
||||
MaxHeaderBytes: 4,
|
||||
PublicPath: "4",
|
||||
Debug: false,
|
||||
Host: "4",
|
||||
Port: 4,
|
||||
ReadTimeout: 4,
|
||||
WriteTimeout: 4,
|
||||
MaxHeaderBytes: 4,
|
||||
PublicPath: "4",
|
||||
SearchResultLimit: 16,
|
||||
},
|
||||
Workers: &WorkerPoolCfg{
|
||||
QueueSize: 4,
|
||||
|
@ -328,13 +331,14 @@ func TestLoadCfg(t *testing.T) {
|
|||
TokenSecret: "4",
|
||||
},
|
||||
Server: &ServerCfg{
|
||||
Debug: false,
|
||||
Host: "4",
|
||||
Port: 4,
|
||||
ReadTimeout: 4,
|
||||
WriteTimeout: 4,
|
||||
MaxHeaderBytes: 4,
|
||||
PublicPath: "4",
|
||||
Debug: false,
|
||||
Host: "4",
|
||||
Port: 4,
|
||||
ReadTimeout: 4,
|
||||
WriteTimeout: 4,
|
||||
MaxHeaderBytes: 4,
|
||||
PublicPath: "4",
|
||||
SearchResultLimit: 16,
|
||||
},
|
||||
Workers: &WorkerPoolCfg{
|
||||
QueueSize: 4,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue