Testing RPC calls. If the RPC routine takes more than 1 second then the connection times out. I have tried lots of things and nothing seems to be able to reset the timeout to something realistic. Ideally, there should be some default setting we can set and then a per call override.
I’ve just implemented the adjustable time-out feature and it will definitely make the next release. If you feel brave you can pull the source from our bit-bucket repository and try it out! We’d be really grateful to hear feedback from you on this issue.
Basically what I’ve done is have the RPC proxy implement a new interface, IRPCProxy, which allows you to get/set the time-out as well as get at various bits of information about the proxy. All you have to do is cast the proxy returned by Client.CreateRPCProxyTo… to an IRPCProxy and the rest should hopefully be fairly self explanatory. You can also set the default RPC call timeout for new proxy’s via Client.DefaultRPCTimeout.
Hope this helps, and thank you in advance for any feedback. Any questions please feel free to ask.