You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently postman tests mostly fail because the 3s deadline is not met, however, on occasion other error codes are returned. These need to be captured client side and translated in clear error messages for the user, but before it comes this far, it would be beneficial if the function would try again (perhaps with a notification that this is being attempted).
The most pragmatic solution to me is on the client side, via purrr, as above. However, a server side solution could be possible where the server waits for confirmation from the client that the response is satisfactory. But I think this is adding unnecessary additional complexity and server load, as two subsequent queries to ETN should deliver the same result except in extreme edge cases where data is being edited between the two calls.
On the client side, API calling code could be wrapped in:
Docs:
Currently postman tests mostly fail because the 3s deadline is not met, however, on occasion other error codes are returned. These need to be captured client side and translated in clear error messages for the user, but before it comes this far, it would be beneficial if the function would try again (perhaps with a notification that this is being attempted).
The most pragmatic solution to me is on the client side, via purrr, as above. However, a server side solution could be possible where the server waits for confirmation from the client that the response is satisfactory. But I think this is adding unnecessary additional complexity and server load, as two subsequent queries to ETN should deliver the same result except in extreme edge cases where data is being edited between the two calls.
See also: two general's problem
In any case, this is an additional argument to minimize the time it takes to return a query as well as package size.
The text was updated successfully, but these errors were encountered: