Skip to content

Commit

Permalink
modify parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
kaki-admin committed Apr 29, 2024
1 parent ccfe767 commit af180a8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion prerank-stages/extractor/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ func main() {
common.Logger.Info("get unextract data ", zap.Int("page", i))
extractData = api.GetUnextractedData(limit)
}
time.Sleep(time.Second * 5)
time.Sleep(time.Second * 1)
}
}
api.SetRedisConfig(source, "last_extractor_time", startTimestamp)
Expand Down
2 changes: 1 addition & 1 deletion prerank-stages/prerank/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ func entriesSaveToMongo(currentList []*model.EntryModel) {
if len(addList) >= 100 {
api.AddEntriesInMongo(addList)
addList = make([]*model.EntryModel, 0)
time.Sleep(time.Second * 5)
time.Sleep(time.Second * 1)
}
} else {
delete(existEntriesMap, currentEntry.Url)
Expand Down

0 comments on commit af180a8

Please sign in to comment.