Optimize Activity query on index page #2034
Labels
backend
This needs backend expertise.
bounties
enhancement
This is a feature to be enhanced or improved.
Currently,
get_activity
is performing multiple queries to fetchbounty
related objects toActivity
and filter down to onlymainnet
bounty activity.We should
select_related
on this relation to avoid multiple queries.The text was updated successfully, but these errors were encountered: