Skip to content
Discussion options

You must be logged in to vote

We need a timeout, but without Polly, everything falls off after a minute and a half.

That's correct, as the default 90-second timeout triggers the event as mentioned in our QoS Notes. To adjust the route global timeout duration, whether longer or shorter, you can use the C# recipe provided below. Currently, in versions 24.0.*, this is an undocumented feature (refer to MessageInvokerPool.cs#L35-L38 lines).

The delegates don't help, it's like he doesn't see them.

Using delegate handlers to solve the problem can be quite risky since the current timeout feature design relies on the TimeoutDelegatingHandler class. Please stop doing this!

A timeout that does not belong to QoSOptions does …

Replies: 2 comments 6 replies

Comment options

You must be logged in to vote
4 replies
@Liliya-Nuraly
Comment options

@raman-m
Comment options

@Liliya-Nuraly
Comment options

@raman-m
Comment options

Comment options

You must be logged in to vote
2 replies
@Liliya-Nuraly
Comment options

@raman-m
Comment options

Answer selected by raman-m
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
QoS Ocelot feature: Quality of Service aka Polly Configuration Ocelot feature: Configuration Routing Ocelot feature: Routing
2 participants