Followup to [#4449]. The mongo queries on /nf/admin/add_subscribers take too long to run in production (over 30 seconds).
My recommendation for a speedup would be this: after determining the tool/app from the URL, get the package name (e.g. for tickets, the package is "forgetracker"). Then when checking the Artifact models, only do artifacts whose packages starts with "forgetracker". That should limit the number of queries quite a bit.
Log in to post a comment.