You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Radu Cotescu (Jira)" <ji...@apache.org> on 2021/11/01 15:55:00 UTC

[jira] [Created] (SLING-10901) Allow terminating a GraphQL query after a configured timeout

Radu Cotescu created SLING-10901:
------------------------------------

             Summary: Allow terminating a GraphQL query after a configured timeout
                 Key: SLING-10901
                 URL: https://issues.apache.org/jira/browse/SLING-10901
             Project: Sling
          Issue Type: Improvement
          Components: GraphQL
            Reporter: Radu Cotescu
            Assignee: Radu Cotescu
             Fix For: GraphQL Core 0.0.14


Since expensive GraphQL queries could lead to a DoS attack, it would be worth allowing a system administrator to configure the maximum execution time of a query. When a long running query is interrupted, the returned error should be transparent for the GraphQL engine, so that the client knows exactly why the query failed.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)