Browse Source

modify delete successed message processor wating interval to 5 min.

master
yangxiaodong 7 years ago
parent
commit
78f837aab6
3 changed files with 3 additions and 3 deletions
  1. +1
    -1
      src/DotNetCore.CAP.MySql/IAdditionalProcessor.Default.cs
  2. +1
    -1
      src/DotNetCore.CAP.PostgreSql/IAdditionalProcessor.Default.cs
  3. +1
    -1
      src/DotNetCore.CAP.SqlServer/IAdditionalProcessor.Default.cs

+ 1
- 1
src/DotNetCore.CAP.MySql/IAdditionalProcessor.Default.cs View File

@@ -15,7 +15,7 @@ namespace DotNetCore.CAP.MySql


private const int MaxBatch = 1000; private const int MaxBatch = 1000;
private readonly TimeSpan _delay = TimeSpan.FromSeconds(1); private readonly TimeSpan _delay = TimeSpan.FromSeconds(1);
private readonly TimeSpan _waitingInterval = TimeSpan.FromHours(2);
private readonly TimeSpan _waitingInterval = TimeSpan.FromMinutes(5);


public DefaultAdditionalProcessor( public DefaultAdditionalProcessor(
IServiceProvider provider, IServiceProvider provider,


+ 1
- 1
src/DotNetCore.CAP.PostgreSql/IAdditionalProcessor.Default.cs View File

@@ -15,7 +15,7 @@ namespace DotNetCore.CAP.PostgreSql


private const int MaxBatch = 1000; private const int MaxBatch = 1000;
private readonly TimeSpan _delay = TimeSpan.FromSeconds(1); private readonly TimeSpan _delay = TimeSpan.FromSeconds(1);
private readonly TimeSpan _waitingInterval = TimeSpan.FromHours(2);
private readonly TimeSpan _waitingInterval = TimeSpan.FromMinutes(5);


private static readonly string[] Tables = private static readonly string[] Tables =
{ {


+ 1
- 1
src/DotNetCore.CAP.SqlServer/IAdditionalProcessor.Default.cs View File

@@ -15,7 +15,7 @@ namespace DotNetCore.CAP.SqlServer


private const int MaxBatch = 1000; private const int MaxBatch = 1000;
private readonly TimeSpan _delay = TimeSpan.FromSeconds(1); private readonly TimeSpan _delay = TimeSpan.FromSeconds(1);
private readonly TimeSpan _waitingInterval = TimeSpan.FromHours(2);
private readonly TimeSpan _waitingInterval = TimeSpan.FromMinutes(5);


private static readonly string[] Tables = private static readonly string[] Tables =
{ {


Loading…
Cancel
Save