From bfb26f39585a3b007e7b2a00771a394c19adebf6 Mon Sep 17 00:00:00 2001 From: token <61819790+239573049@users.noreply.github.com> Date: Mon, 10 Nov 2025 21:05:38 +0800 Subject: [PATCH] Update Gateway.cs --- src/FastGateway/Gateway/Gateway.cs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/FastGateway/Gateway/Gateway.cs b/src/FastGateway/Gateway/Gateway.cs index 8e68f7f..6ab79af 100644 --- a/src/FastGateway/Gateway/Gateway.cs +++ b/src/FastGateway/Gateway/Gateway.cs @@ -181,10 +181,7 @@ public static class Gateway builder.Services.AddRequestTimeouts(options => { - options.DefaultPolicy = new Microsoft.AspNetCore.Http.Timeouts.RequestTimeoutPolicy() - { - Timeout = TimeSpan.FromSeconds(server.Timeout) - }; + }); builder.Services