Skip to content

quote request api: shorten loading time #63

@chrtze

Description

@chrtze

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions