Active Context: Add AdHocIndexingWorker
Description
This adds a new AdHocIndexingWorker
for Active Context. That way, we can index individual projects on demand (ad-hoc indexing) based on GitLab Duo usage. This replaces indexing based on process-pending-enabled-namespaces with indexing based on project-ad-hoc triggering.
Reference:
- https://docs.gitlab.com/development/sidekiq/
- https://docs.gitlab.com/development/event_store/#remove-a-subscriber
Related to #577330
Edited by Arturo Herrero