fix(webui): set sane timeout for get_instances_data calls
- Oct 07, 2024
-
-
Due to the bug in RPC (see https://git.picodata.io/picodata/picodata/picodata/-/issues/991) RPC call timeout does not account TCP connection establishment. So a request to a peer without a connection was not aborted due to timeout. Force a timeout directly for a future returned by RPC to avoid this Closes #991
-
Previously webUI failed to retrieve data about instances if one of those was dead. The cause was that webUI HTTP request timeout was less than get_instances_data timeout. References #943
-