2
0
mirror of https://github.com/status-im/consul.git synced 2025-02-28 05:10:40 +00:00

3 Commits

Author SHA1 Message Date
John Cowen
876dd3b97d ui: Ensure event sources are closed to the correct state when connecting ()
This fails the tests, but wouldn't produce an actual bug as the source
is still set to closing, just 1 tick later.
2019-09-04 08:35:08 +00:00
John Cowen
82a2f206dc ui: Ensure an EventSource isn't opened if closed before first tick ()
EventSources will wait for 1 tick before 'opening'. There is always the
chance that the EventSource is '.close()'ed before that tick. We
therefore check the 'readyState' before opening the EventSource
2019-09-04 08:34:59 +00:00
John Cowen
cb0c5309c9 UI: Add EventSource ready for implementing blocking queries ()
- Maintain http headers as JSON-API meta for all API requests ()
- Add EventSource ready for implementing blocking queries
- EventSource project implementation to enable blocking queries for service and node listings ()
- Add setting to enable/disable blocking queries ()
2019-05-01 18:22:06 +00:00