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
The code inside invoice will populate the shell invoice with its items, payments, tags and tracking ids. However there are many code paths where such of these elements are not useful.
In particular, we should look at whether for internal use (e.g. invoice run), we could bypass tracking ids.
A more elaborate approach would be to make such loading lazy and only call it if such data is being used.
The text was updated successfully, but these errors were encountered:
sbrossie
changed the title
Performance issues around tracking ids when populate large invoice (or all invoices for an account)
Perf issues around tracking ids when populate large invoice (or all invoices for an account)
Jan 19, 2024
The code inside invoice will populate the shell invoice with its items, payments, tags and tracking ids. However there are many code paths where such of these elements are not useful.
In particular, we should look at whether for internal use (e.g. invoice run), we could bypass tracking ids.
A more elaborate approach would be to make such loading lazy and only call it if such data is being used.
The text was updated successfully, but these errors were encountered: