remove debug sleep
Signed-off-by: Hadi <112569860+anotherhadi@users.noreply.github.com>
This commit is contained in:
@@ -44,8 +44,6 @@ func Search(s *server.Server, q Query, r *Result, mu *sync.RWMutex) {
|
|||||||
r.ResultsCount = 0
|
r.ResultsCount = 0
|
||||||
mu.Unlock()
|
mu.Unlock()
|
||||||
|
|
||||||
time.Sleep(20 * time.Second) // To ensure the status update is sent to the client before starting the search
|
|
||||||
|
|
||||||
wg.Add(3)
|
wg.Add(3)
|
||||||
go func() {
|
go func() {
|
||||||
if !q.Datawells {
|
if !q.Datawells {
|
||||||
|
|||||||
Reference in New Issue
Block a user