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

Search: protect ourselves from executing long queries #210

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

humitos
Copy link
Member

@humitos humitos commented Mar 8, 2024

This is similar to what we are doing in PostgreSQL to avoid running long queries and degrading the service.

Related readthedocs/addons#84

This is similar to what we are doing in PostgreSQL to avoid running long queries
and degrading the service.

Related readthedocs/addons#84
@humitos
Copy link
Member Author

humitos commented Mar 8, 2024

This PR is only for development, but we should open a similar one for production. I haven't found where we configure these settings in production yet, tho.

@humitos
Copy link
Member Author

humitos commented Mar 12, 2024

I checked the configs in Elastic Cloud, but I wasn't able to find where to configure this there.

@humitos
Copy link
Member Author

humitos commented Jul 11, 2024

@stsewd do you know how to enable this setting in production?

@stsewd
Copy link
Member

stsewd commented Jul 11, 2024

Looks like you can do it from here https://www.elastic.co/guide/en/cloud/current/ec-add-user-settings.html, but that document says that only some options are available. I don't see that option listed there.

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.

2 participants