···173173}
174174175175func (c *CrawlDispatcher) addToCatchupQueue(catchup *catchupJob) *crawlWork {
176176- catchupEventsEnqueued.Inc()
177176 c.maplk.Lock()
178177 defer c.maplk.Unlock()
179178180179 // If the actor crawl is enqueued, we can append to the catchup queue which gets emptied during the crawl
181180 job, ok := c.todo[catchup.user.Uid]
182181 if ok {
182182+ catchupEventsEnqueued.WithLabelValues("todo").Inc()
183183 job.catchup = append(job.catchup, catchup)
184184 return nil
185185 }
···187187 // If the actor crawl is in progress, we can append to the nextr queue which gets emptied after the crawl
188188 job, ok = c.inProgress[catchup.user.Uid]
189189 if ok {
190190+ catchupEventsEnqueued.WithLabelValues("prog").Inc()
190191 job.next = append(job.next, catchup)
191192 return nil
192193 }
193194195195+ catchupEventsEnqueued.WithLabelValues("new").Inc()
194196 // Otherwise, we need to create a new crawl job for this actor and enqueue it
195197 cw := &crawlWork{
196198 act: catchup.user,