fix: instances not staying active for realtime events

This commit is contained in:
Ben Allfree 2022-12-09 07:35:12 -08:00
parent bed29bc675
commit 4da33ed88e

View File

@ -61,7 +61,7 @@ export const createProxyService = async (
)
const endRequest = instance.startRequest()
req.on('close', endRequest)
res.on('close', endRequest)
proxy.web(req, res, { target: instance.internalUrl })
} catch (e) {
die(`${e}`)