From 17a27c9922402c27b81493273dbe28ddf1424f29 Mon Sep 17 00:00:00 2001 From: Glax Date: Wed, 28 Feb 2024 02:33:43 +0100 Subject: [PATCH] Reset RequestLimits --- Tranga/Server.cs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Tranga/Server.cs b/Tranga/Server.cs index c1d7fbb..cf2d15a 100644 --- a/Tranga/Server.cs +++ b/Tranga/Server.cs @@ -445,6 +445,10 @@ public class Server : GlobalBase SendResponse(HttpStatusCode.BadRequest, response); settings.ExportSettings(); break; + case "Settings/customRequestLimit/Reset": + settings.requestLimits = TrangaSettings.DefaultRequestLimits; + settings.ExportSettings(); + break; case "NotificationConnectors/Update": if (!requestVariables.TryGetValue("notificationConnector", out notificationConnectorStr) || !Enum.TryParse(notificationConnectorStr, out notificationConnectorType))