3 ms·
>My going theory is that the Lambda had terminated processing as soon as the final form.submit() Kinda odd behaviour
by hardware2win 3y ago
>My going theory is that the Lambda had terminated processing as soon as the final form.submit()
Kinda odd behaviour
- _joel 3y agoIsn't that the point of serverless though?
- isbvhodnvemrwvn 3y agoIt wouldn't have worked regardless of what they ran it on, it's the runtime that terminates.
- marvin 3y agoThis wasn't obvious to me just looking at the problem from a distance, but thankfully testing reduces the level of skill required to get something right :)
- devit 3y agoThat's because the author apparently neglected to parse the resulting page to ensure that the submission succeeded. If you terminate the system right after sending a form there is no guarantee that the data even left the local buffers for the network.
- frankthedog 3y agoThis is the right answer. He’s immediately closing the browser after clicking the button. He should wait for a success UI or at least that the resulting network call finishes with success or a failure to retry on. Not lambdas fault, it’s performing as coded.