From 2f7043a7cf810d0a019f4bd157023d484e509fdb Mon Sep 17 00:00:00 2001 From: area363 Date: Tue, 26 Sep 2023 16:59:06 +0900 Subject: [PATCH] increase interval --- NineChronicles.Headless/Middleware/GrpcCaptureMiddleware.cs | 4 ++-- NineChronicles.Headless/Middleware/HttpCaptureMiddleware.cs | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/NineChronicles.Headless/Middleware/GrpcCaptureMiddleware.cs b/NineChronicles.Headless/Middleware/GrpcCaptureMiddleware.cs index 6fee915b5..ce6fa767b 100644 --- a/NineChronicles.Headless/Middleware/GrpcCaptureMiddleware.cs +++ b/NineChronicles.Headless/Middleware/GrpcCaptureMiddleware.cs @@ -14,8 +14,8 @@ namespace NineChronicles.Headless.Middleware { public class GrpcCaptureMiddleware : Interceptor { - private const int MultiAccountManagementTime = 15; - private const int MultiAccountTxInterval = 15; + private const int MultiAccountManagementTime = 180; + private const int MultiAccountTxInterval = 180; private static Dictionary _multiAccountTxIntervalTracker = new(); private static Dictionary _multiAccountList = new(); private readonly ILogger _logger; diff --git a/NineChronicles.Headless/Middleware/HttpCaptureMiddleware.cs b/NineChronicles.Headless/Middleware/HttpCaptureMiddleware.cs index d4692c9b7..9f66e72b1 100644 --- a/NineChronicles.Headless/Middleware/HttpCaptureMiddleware.cs +++ b/NineChronicles.Headless/Middleware/HttpCaptureMiddleware.cs @@ -16,8 +16,8 @@ namespace NineChronicles.Headless.Middleware { public class HttpCaptureMiddleware { - private const int MultiAccountManagementTime = 15; - private const int MultiAccountTxInterval = 15; + private const int MultiAccountManagementTime = 30; + private const int MultiAccountTxInterval = 30; private static Dictionary _multiAccountTxIntervalTracker = new(); private static Dictionary _multiAccountList = new(); private readonly RequestDelegate _next;