You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When fetching multiple blobs or transactions filtered by a rollup, an additional Prisma call is made to count all rows associated with that rollup. This approach is highly inefficient, as it occurs with every request, significantly impacting performance.
We should consider updating this logic to retrieve the total number of elements associated with the rollup from the stats table, once rollup stats support is implemented.
When fetching multiple blobs or transactions filtered by a rollup, an additional Prisma call is made to count all rows associated with that rollup. This approach is highly inefficient, as it occurs with every request, significantly impacting performance.
We should consider updating this logic to retrieve the total number of elements associated with the rollup from the stats table, once rollup stats support is implemented.
blobscan/packages/api/src/routers/blob/getAll.ts
Line 80 in a8b94e2
The text was updated successfully, but these errors were encountered: