Skip to content

Add network timeouts by default

ivan tkachenko requested to merge work/ratijas/timeouts into master

When host could not be reached, or does not reply for too long, we should eventually abort and report an error, so that frontend code could show an error notification and offer a retry button (in case it does not show it all the time).


best way to test network errors:

  1. Do a successful fetch from the host.
  2. Turn network off.
  3. Try again.

Without the first fetch, the "host is unknown" kind of error would show up immediately without any timeouts.

Merge request reports