Skip to content

Commit

Permalink
Deleted extra code by accident
Browse files Browse the repository at this point in the history
  • Loading branch information
neil-xie committed Jan 14, 2025
1 parent 91d4b09 commit df076f6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions service/matching/handler/engine.go
Original file line number Diff line number Diff line change
Expand Up @@ -539,6 +539,7 @@ pollLoop:
if err != nil {
return nil, fmt.Errorf("couldn't load tasklist namanger: %w", err)
}
startT := time.Now() // Record the start time
task, err := tlMgr.GetTask(pollerCtx, nil)
if err != nil {
// TODO: Is empty poll the best reply for errPumpClosed?
Expand Down Expand Up @@ -727,6 +728,7 @@ pollLoop:
if err != nil {
return nil, fmt.Errorf("couldn't load tasklist namanger: %w", err)
}
startT := time.Now() // Record the start time
task, err := tlMgr.GetTask(pollerCtx, maxDispatch)
if err != nil {
// TODO: Is empty poll the best reply for errPumpClosed?
Expand Down

0 comments on commit df076f6

Please sign in to comment.