Skip to content

Commit

Permalink
debug log
Browse files Browse the repository at this point in the history
  • Loading branch information
ep1088 committed Aug 10, 2022
1 parent e29f462 commit 7bfb3a9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion searcher/engine.go
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,9 @@ func (e *Engine) automaticGC() {
<-ticker.C
//定时GC
runtime.GC()
log.Println("waiting:", e.GetQueue())
if e.IsDebug {
log.Println("waiting:", e.GetQueue())
}
}
}

Expand Down

0 comments on commit 7bfb3a9

Please sign in to comment.