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

Remove celery check to improve search page performance #11155

Open
chiatt opened this issue Jul 8, 2024 · 0 comments · May be fixed by #11156
Open

Remove celery check to improve search page performance #11155

chiatt opened this issue Jul 8, 2024 · 0 comments · May be fixed by #11156

Comments

@chiatt
Copy link
Member

chiatt commented Jul 8, 2024

Checking for the availability of a celery worker is an expensive call that can take between 1 and 6 seconds. We call this on every load of the search page to confirm that celery is available for large search exports. If it's not available and a user is trying to export more instances than is allowed without celery, we notify the user that they must reduce their search because celery isn't running. This isn't very helpful to most users who aren't going to know what vegetables have to do with their search export.

We should just remove this check entirely and simply inform users that their search exceeds the export limit and that they have to refine it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: 👀 In Review
Development

Successfully merging a pull request may close this issue.

1 participant