Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Force Analytics to eager mode #449

Merged
merged 1 commit into from
May 9, 2017
Merged

Force Analytics to eager mode #449

merged 1 commit into from
May 9, 2017

Conversation

olamothe
Copy link
Member

@olamothe olamothe commented May 5, 2017

Analytics component is special : It needs to be initialized before every component, inside the SearchInterface component.

Instead of adding something complicated to ensure it's always initialized properly in order, simply remove it's "lazy" mechanism, and always force it to be eager.

The performance loss is minimal.

https://coveord.atlassian.net/browse/JSUI-1562

Deploy

@olamothe olamothe requested a review from dms1lva May 5, 2017 21:20
@coveralls
Copy link

Coverage Status

Coverage remained the same at 80.889% when pulling 5778378 on JSUI-1562 into 13ab55a on master.

@olamothe olamothe merged commit b4e8fea into master May 9, 2017
@olamothe olamothe deleted the JSUI-1562 branch June 14, 2017 13:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants