Skip to content

Timeout option on Gateway #42

@rmja

Description

@rmja

It would be nice if the timeout option of the underlying HttpClient was exposed somehow. I am currently adjusting the timeout like this:

services.AddHttpRequestDispatcherProvider(new HttpRequestDispatcherProvider(() =>
            {
                var dispatcher = new HttpRequestDispatcher();
                dispatcher.Timeout = TimeSpan.FromMinutes(10);
                return dispatcher;
            }, null, new[] { new AlwaysTreatedAsNonTransientExceptionHandler() }, null));

But that is far from beautiful:) The 100s default timeout is not enough for some of the long running jobs that I have...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions