Skip to content

Added some withCount() params to tweak the 'minimum number of assets' notification#18544

Merged
snipe merged 1 commit intogrokability:developfrom
uberbrady:fix_1001_query_on_available_models_for_notification
Feb 12, 2026
Merged

Added some withCount() params to tweak the 'minimum number of assets' notification#18544
snipe merged 1 commit intogrokability:developfrom
uberbrady:fix_1001_query_on_available_models_for_notification

Conversation

@uberbrady
Copy link
Copy Markdown
Member

We originally thought that we would only need the 'total number of available assets' parameter in order to do this, but we also need the 'number of assets period' amount as well.

This fixes a 1,001 query problem where we fetched a list of models, then for each model fetched asset counts on them - for larger numbers of models, this would end up causing a lot of dependent queries.

@uberbrady uberbrady requested a review from snipe as a code owner February 12, 2026 21:34
@snipe snipe merged commit 929132b into grokability:develop Feb 12, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants