feat(server): add flag for skipping indexing in launching
This commit is contained in:
parent
0cce1bd090
commit
aeb9d26bbd
4 changed files with 46 additions and 21 deletions
|
@ -134,6 +134,7 @@ func TestLoadCfg(t *testing.T) {
|
|||
MaxHeaderBytes: 1,
|
||||
PublicPath: "1",
|
||||
SearchResultLimit: 16,
|
||||
InitFileIndex: true,
|
||||
},
|
||||
Workers: &WorkerPoolCfg{
|
||||
QueueSize: 1,
|
||||
|
@ -201,6 +202,7 @@ func TestLoadCfg(t *testing.T) {
|
|||
MaxHeaderBytes: 4,
|
||||
PublicPath: "4",
|
||||
SearchResultLimit: 16,
|
||||
InitFileIndex: true,
|
||||
},
|
||||
Workers: &WorkerPoolCfg{
|
||||
QueueSize: 4,
|
||||
|
@ -270,6 +272,7 @@ func TestLoadCfg(t *testing.T) {
|
|||
MaxHeaderBytes: 4,
|
||||
PublicPath: "4",
|
||||
SearchResultLimit: 16,
|
||||
InitFileIndex: true,
|
||||
},
|
||||
Workers: &WorkerPoolCfg{
|
||||
QueueSize: 4,
|
||||
|
@ -339,6 +342,7 @@ func TestLoadCfg(t *testing.T) {
|
|||
MaxHeaderBytes: 4,
|
||||
PublicPath: "4",
|
||||
SearchResultLimit: 16,
|
||||
InitFileIndex: true,
|
||||
},
|
||||
Workers: &WorkerPoolCfg{
|
||||
QueueSize: 4,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue