Skip to content

Commit

Permalink
increase interval
Browse files Browse the repository at this point in the history
  • Loading branch information
area363 committed Sep 26, 2023
1 parent ba97a16 commit 2f7043a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions NineChronicles.Headless/Middleware/GrpcCaptureMiddleware.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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<Address, DateTimeOffset> _multiAccountTxIntervalTracker = new();
private static Dictionary<Address, DateTimeOffset> _multiAccountList = new();
private readonly ILogger _logger;
Expand Down
4 changes: 2 additions & 2 deletions NineChronicles.Headless/Middleware/HttpCaptureMiddleware.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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<Address, DateTimeOffset> _multiAccountTxIntervalTracker = new();
private static Dictionary<Address, DateTimeOffset> _multiAccountList = new();
private readonly RequestDelegate _next;
Expand Down

0 comments on commit 2f7043a

Please sign in to comment.