Follow-up from "Make DAP Free tier available on self-managed"

The following discussion from !228648 (merged) should be addressed:

  • @a_akgun started a discussion:

    We may consider: where(ultimate_only: true).pluck(:reference).to_set

    Also is it too big for the memory in any scenario?

Edited by 🤖 GitLab Bot 🤖