mirror of
https://github.com/PeernetOfficial/core.git
synced 2026-07-17 02:47:51 +01:00
Search results: Immediately (with results) signal if no more results will be available (search terminated).
This commit is contained in:
@@ -359,7 +359,7 @@ func (job *SearchJob) IsTerminated() bool {
|
||||
// }
|
||||
// }
|
||||
|
||||
return false
|
||||
return job.Status == SearchStatusTerminated || job.Status == SearchStatusNoIndex
|
||||
}
|
||||
|
||||
// Terminate terminates all searches
|
||||
|
||||
Reference in New Issue
Block a user