Skip to content
This repository was archived by the owner on May 17, 2021. It is now read-only.

Conversation

gribnoysup
Copy link
Contributor

@gribnoysup gribnoysup commented Mar 30, 2021

This is an intermediate workaround for a leaky compass plugins issue. We don't expect dataService to be disconnected when these actions are dispatched ever, so technically throwing in this case might've been a right thing to do, but currently as a workaround for leaking listeners of refresh-data event, we just warn and no-op if dataService is disconnected

@gribnoysup gribnoysup changed the title fix: Check if dataService is connected before trying to refresh indexes fix: Check if dataService is connected before trying to refresh indexes COMPASS-4741 Mar 30, 2021
@mcasimir mcasimir merged commit 9a03ee2 into master Mar 31, 2021
@mcasimir mcasimir deleted the compass-4741-check-if-connected-before-fetching-indexes branch March 31, 2021 09:14
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants