ChilliCream / ChilliCream/graphql-platform

Allow per-operation-kind override of execution timeout

Open
#5,247 0 comments 2 reactions 1 assignee View on GitHub

@michaelstaib is already working on this.

Since Jul 9, 2024.

🌶️ hot chocolate Area: Performance Next
Dominant language
C#
Stars
5.8k
Forks
810
Avg merge
15h 39m
Merged PRs (30d)
98

Description

Is your feature request related to a problem?

The default timeout (30s) is suitable for most usecases, but occasionally an operation may require a longer timeout. Raising the timeout globally is possible, but not necessarily desirable.

The solution you'd like

Rather than increase the timeout for every function, it would be great to change the timeout via both attribute ([ExecutionTimeout(300)]) or code (.Field<SomeQuery>(q => q.Something(default!)).ExecutionTimeout(5)).

Product

Hot Chocolate

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.