open-consul/ui-v2/app/utils/dom
John Cowen 913ae5cfb3
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
..
event-source ui: Reduce reconnection attempts on disconnection (#8481) 2020-08-11 18:47:15 +01:00
event-target UI: Add EventSource ready for implementing blocking queries (#5070) 2019-05-01 18:22:06 +00:00
click-first-anchor.js ui: Redesign - Service Detail Page (#7655) 2020-05-12 17:14:27 +00:00
closest.js UI: New ACLs (#4789) 2018-10-19 08:45:05 -07:00
create-listeners.js ui: Enable creating listeners using an object/hash (#5975) 2019-09-04 08:35:04 +00:00
get-component-factory.js UI: dom usage refactoring (#4924) 2019-05-01 18:21:40 +00:00
is-outside.js ui: Namespace Support (#6639) 2019-12-18 12:26:47 +00:00
normalize-event.js UI: New ACLs (#4789) 2018-10-19 08:45:05 -07:00
qsa-factory.js UI: New ACLs (#4789) 2018-10-19 08:45:05 -07:00
sibling.js UI: New ACLs (#4789) 2018-10-19 08:45:05 -07:00