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

Async invoice creation #1734

Open
ekzyis opened this issue Dec 18, 2024 · 0 comments
Open

Async invoice creation #1734

ekzyis opened this issue Dec 18, 2024 · 0 comments
Labels
feature new product features that weren't there before wallets

Comments

@ekzyis
Copy link
Member

ekzyis commented Dec 18, 2024

Describe the problem you're trying to solve

Receiver wallets can take pretty long to create invoices. Since our mutation waits for wallets to create an invoice, our load balancer might timeout before this happens.

Describe the solution you'd like

Instead of increasing timeouts for wallets and load balancer, we could return an id that the frontend can use to poll for the invoice.

This might not be simply the invoice id since we only store invoices in the database when we actually have something to store.

Describe alternatives you've considered

No response

Additional context

Doing #1717 first might be useful.

#1492 might also be related since this ticket is also about sending invoices to the client. Ideally, the code for #1492 can also be used for async invoice creations.

@ekzyis ekzyis added feature new product features that weren't there before wallets labels Dec 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature new product features that weren't there before wallets
Projects
None yet
Development

No branches or pull requests

1 participant