mirror of https://github.com/status-im/consul.git
e2df5de795
More recommendations for blocking queries clients was added here: https://github.com/hashicorp/consul/pull/5358 This commit mainly adds cursor/index validation/correction based on these recommendations (plus tests) The recommendations also suggest that clients should include rate limiting. Because of this, we've moved the throttling out of Consul UI specific code and into Blocking Query specific code. Currently the 'rate limiting' in this commit only adds a sleep to every iteration of the loop, which is not the recommended approach, but the code here organizes the throttling functionality into something we can work with later to provide something more apt. |
||
---|---|---|
.. | ||
dom | ||
helpers | ||
http | ||
model | ||
routing | ||
search | ||
storage | ||
acls-status-test.js | ||
ascend-test.js | ||
atob-test.js | ||
btoa-test.js | ||
callable-type-test.js | ||
confirm-test.js | ||
createURL-test.js | ||
get-form-name-property-test.js | ||
get-object-pool-test.js | ||
hasStatus-test.js | ||
injectableRequestToJQueryAjaxHash-test.js | ||
isFolder-test.js | ||
keyToArray-test.js | ||
left-trim-test.js | ||
makeAttrable-test.js | ||
promisedTimeout-test.js | ||
remove-null-test.js | ||
right-trim-test.js | ||
sumOfUnhealthy-test.js | ||
templatize-test.js | ||
ucfirst-test.js | ||
update-array-object-test.js |