|
@@ -29,7 +29,7 @@ type Match struct {
|
|
|
Pushspace_project string
|
|
|
RelationProjectPoolSize int
|
|
|
LoadProjectPoolSize int
|
|
|
- ProjectBatch int
|
|
|
+ RelationProjectBatch int
|
|
|
RelationProjectLimit int
|
|
|
Mgo_Log *MongodbSim
|
|
|
AllProject *sync.Map
|
|
@@ -70,7 +70,7 @@ func (m *Match) Execute(projectMatcher ProjectMatcher, projectUser *map[*UserInf
|
|
|
continue
|
|
|
}
|
|
|
newIds = append(newIds, _id)
|
|
|
- if len(newIds) == m.ProjectBatch {
|
|
|
+ if len(newIds) == m.RelationProjectBatch {
|
|
|
searchPool <- true
|
|
|
searchWaitGroup.Add(1)
|
|
|
go func(searchIds []string) {
|