consul/ui-v2/tests/unit
John Cowen 43ec04f073
ui: Reduce reconnection attempts on disconnection (#8481)
* ui: Reduce reconnection attempts on disconnection

The UI will attempt to reconnect/retry a blocking query to Consul after
a disconnection in certain circumstances.

1. On receipt of a 5xx error (used for keeping blocking queries running
through reverse proxies that have lowertimeouts than consul itself)
2. When a user switches to a different tab and back again)
3. When the connection to Consul is dropped entirely (when Consul itself
has exited)

In the last case the retry attempts where not using a 3 second interval
between attempts like the first case is.

This commit changes the last case to use the same 3 second pause as the
last case.
2020-08-11 18:47:15 +01:00
..
adapters ui: Add blocking queries to gateways (#7967) 2020-06-03 16:46:52 +00:00
components/discovery-chain UI Release Merge (1.8-beta-2: ui-staging merge) (#7919) 2020-05-19 17:18:04 +01:00
controllers ui: KV Form and List Components (#8307) 2020-07-20 18:04:43 +01:00
helpers ui: Create PopoverSelect, CatalogToolbar, and update tests (#7489) 2020-05-12 17:14:48 +00:00
mixins ui: KV Form and List Components (#8307) 2020-07-20 18:04:43 +01:00
models ui: Add blocking queries to gateways (#7967) 2020-06-03 16:46:52 +00:00
routes ui: Namespace Support (#6639) 2019-12-18 12:26:47 +00:00
search/filters ui: Add ability to search nodes listing page with IP Address (#7204) 2020-02-04 10:45:25 -05:00
serializers ui: Add blocking queries to gateways (#7967) 2020-06-03 16:46:52 +00:00
services ui: Move routes to use data-sources (#8321) 2020-07-17 14:42:45 +01:00
sort/comparators ui: Add ability to sort service based on health (#7989) 2020-06-03 16:46:57 +00:00
utils ui: Reduce reconnection attempts on disconnection (#8481) 2020-08-11 18:47:15 +01:00