open-next icon indicating copy to clipboard operation
open-next copied to clipboard

fix lambda streaming hanging after return

Open conico974 opened this issue 6 months ago • 2 comments

It looks like aws has made an update again to how the runtime works when using streaming. Now even after end() has been called on the stream and the handler returned, the lambda keeps running in the background doing nothing until it timeout (and you'll be billed for the full duration)

This should fix it.

conico974 avatar Aug 08 '24 11:08 conico974