graphql-platform icon indicating copy to clipboard operation
graphql-platform copied to clipboard

Allow per-operation-kind override of execution timeout

Open richardszalay opened this issue 3 years ago • 0 comments

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

richardszalay avatar Jul 20 '22 06:07 richardszalay