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

quote request api: shorten loading time #63

Open
chrtze opened this issue Apr 13, 2024 · 0 comments
Open

quote request api: shorten loading time #63

chrtze opened this issue Apr 13, 2024 · 0 comments

Comments

@chrtze
Copy link
Member

chrtze commented Apr 13, 2024

because the quote request form is implemented as a lambda function, we need to wait for all steps of the function (create customer, create, finalize, download quote) to finish until we can return a response. we should refactor or rewrite this function to getting triggered and returning a response immediately and sending the quote in another process.

@peterkogo's idea: create a database entry for each quote request and then use hasura events for sending whenever something is inserted in the table.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant