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

[FEATURE] Add setting to enable/disable async query capability #2507

Closed
penghuo opened this issue Feb 6, 2024 · 0 comments
Closed

[FEATURE] Add setting to enable/disable async query capability #2507

penghuo opened this issue Feb 6, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@penghuo
Copy link
Collaborator

penghuo commented Feb 6, 2024

Is your feature request related to a problem?
I want to disable async_query capability to reject all coming requests.

What solution would you like?
A clear and concise description of what you want to happen.

sh$ curl -sS -H 'Content-Type: application/json' -X PUT localhost:9200/_cluster/settings \
... -d '{"transient":{"plugins.async_query.enable":"false"}}'
{
    "acknowledged": true,
    "persistent": {},
    "transient": {
        "plugins": {
            "async_query": { 
                "enable" :  false
            }
        }
    }
}

What alternatives have you considered?
n/a

Do you have any additional context?
Add any other context or screenshots about the feature request here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant