-
Notifications
You must be signed in to change notification settings - Fork 29
Description
I would like to be able to control the request timeout from the client side, but it appears loopback-connector-remote does not expose this functionality - It looks like strong-remoting doesn't allow the user to add fields to the request options object, that might be by design, but I think it would be useful to expose timeout and possibly a few other fields.
The lack of a timeout is causing me problems right now - the remote call doesn't timeout in a reasonable time, and my unit test actually times out before the call does, so I couldn't even see the root cause of the error, just that the test died. Now that I've figured that out, I'd like to set my timeout to be ~5 seconds (unit test timeout is 15 seconds), so that in the future this would be catchable.