Cancel handlers that are too long
Opened this issue · 0 comments
cdevienne commented
If a handler is too long, the client will get a nats timeout and the handler will consider that the client has received a reply.
Ideally, if the handler reaches a timeout slightly smaller that the client timeout, we should reply with a TOOLONG or SERVERBUSY error and cancel the handler context.