Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Perf issues around tracking ids when populate large invoice (or all invoices for an account) #1952

Open
sbrossie opened this issue Jan 19, 2024 · 0 comments

Comments

@sbrossie
Copy link
Member

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.

@sbrossie 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant