Does FastEndpoints fast-endpoints have a request timeout. I see the cancellationToken firing but not sure why (it might be a client disconnection)
What I would like to know is there a way to set some sort of timeout for all endpoints.
Does FastEndpoints fast-endpoints have a request timeout. I see the cancellationToken firing but not sure why (it might be a client disconnection)
What I would like to know is there a way to set some sort of timeout for all endpoints.
the cancellation token passed in to FE's endpoint handler is the exact same token that the asp.net middleware hands down to minimal api endpoints. for example, it's the same token as this:
yes, it might be client disconnection log entries you're seeing.
typically, we use an
IEndpointFilter
like the following to catch/suppressOperationCancelledException
s that are logged by kestrel.register it as a global endpoint filter:
if the above doesn't do it, do update your question with the log entries/exception message you're seeing.