Is it possible to make calls timeout?
I have a server to server connection.
It is expected that the client will call method A on server 1 which will make a call to server 2 in order to satisfy method A.
In the case where server 2 becomes unavailable, (using synchronous calls) method A never returns and the calls to server 2 get queued up until reconnect.
At reconnect, all the calls to server 2 are made and method A is satisfied.
After a long disconnect, it is not always appropriate to make those calls to server 2.
In this case it would be better if the pending calls to server 2 timed out and an error response is returned to the client.
Is there a way to do this with meteor / DDP?