mirror of
https://github.com/PeernetOfficial/core.git
synced 2026-07-22 12:47:51 +01:00
webapi: Add /search/statistic
This commit is contained in:
@@ -44,6 +44,7 @@ func dispatchSearch(input SearchRequest) (job *SearchJob) {
|
||||
job.Files = append(job.Files, &newFile)
|
||||
job.AllFiles = append(job.AllFiles, &newFile)
|
||||
job.requireSort = true
|
||||
job.statsAdd(&newFile)
|
||||
}
|
||||
|
||||
job.ResultSync.Unlock()
|
||||
|
||||
Reference in New Issue
Block a user