open-next
open-next copied to clipboard
fix lambda streaming hanging after return
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.