Skip to content

Commit

Permalink
chore: add w.state.lastAction = "dequeueing item"
Browse files Browse the repository at this point in the history
  • Loading branch information
yzqzss committed Aug 6, 2024
1 parent 8dc6309 commit 95af078
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions internal/pkg/crawl/worker.go
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ func (w *Worker) Run() {
}
}

w.state.lastAction = "dequeueing item"
// Try to get an item from the queue or handover channel
item, err := w.pool.Crawl.Queue.Dequeue()
if err != nil {
Expand Down

0 comments on commit 95af078

Please sign in to comment.