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

Sherlock improvements #32

Merged
merged 3 commits into from Oct 5, 2020
Merged

Sherlock improvements #32

merged 3 commits into from Oct 5, 2020

Conversation

stdavis
Copy link
Member

@stdavis stdavis commented Oct 5, 2020

The requests to feature services were taking way too long and returning way too many results. This PR optimizes the requests.

This component needs to be ported to a functional component, but that was more than I wanted to bite off at the moment.

Need to create a new controller with each request.
Only query for maxResultsToDisplay + 1 so that we know when the max records has been reached.

Set default of 10.
@stdavis stdavis requested a review from steveoh October 5, 2020 14:48
Copy link
Member

@steveoh steveoh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

great fix. thanks!

packages/sherlock/src/Sherlock.js Show resolved Hide resolved
@stdavis stdavis merged commit c87abfd into master Oct 5, 2020
@stdavis stdavis deleted the sherlock-fixes branch October 5, 2020 16:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants