Currently, when using sync query mode and a query times out because other queries are ahead in its lane, a very ugly and misleading exception ("Something went wrong") is thrown from the API and displayed in the frontend UI. Instead, the API should inform the frontend UI about the timeout, and the frontend API should use exponential backoff and retry while continuing to show a loading state.
Currently, when using sync query mode and a query times out because other queries are ahead in its lane, a very ugly and misleading exception ("Something went wrong") is thrown from the API and displayed in the frontend UI. Instead, the API should inform the frontend UI about the timeout, and the frontend API should use exponential backoff and retry while continuing to show a loading state.