open-consul/ui-v2/tests/unit/utils
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
..
dom ui: Reduce reconnection attempts on disconnection (#8481) 2020-08-11 18:47:15 +01:00
helpers
http ui: Ensure any colons in headers aren't split out (#8293) 2020-07-13 14:22:15 +01:00
routing ui: Fix using 'ui-like' KVs when using an empty default nspace (#7734) 2020-04-30 09:28:20 +01:00
search
storage
ticker
acls-status-test.js
ascend-test.js
atob-test.js
btoa-test.js
callable-type-test.js
create-fingerprinter-test.js
get-environment-test.js ui: Add a way to reliably figure out where the UI is running (#7722) 2020-05-12 17:14:36 +00:00
get-form-name-property-test.js
isFolder-test.js
keyToArray-test.js
left-trim-test.js
maybe-call-test.js ui: Add DataSource component (#7448) 2020-05-12 17:14:18 +00:00
non-empty-set-test.js
promisedTimeout-test.js
remove-null-test.js
right-trim-test.js ui: Make sure right trim doesn't try to overtrim (#8171) 2020-06-23 18:34:21 +01:00
templatize-test.js
ucfirst-test.js
update-array-object-test.js