Skip to content

workerutil: Add QueuedCount to store

Warren Gifford requested to merge ef/worker-queued-count into main

Created by: efritz

This PR adds a method to get the number of queued jobs to the internal/worker store. This will be used to determine the number of items in the queue and its growth rate over time for metrics collection and alerting.

This closes https://github.com/sourcegraph/sourcegraph/issues/14832.

Merge request reports

Loading