Procházet zdrojové kódy

Tweak some processors to visual for overwrite.

master
Savorboard před 2 roky
rodič
revize
2a21bd7e7c
5 změnil soubory, kde provedl 4 přidání a 6 odebrání
  1. +1
    -1
      src/DotNetCore.CAP.Pulsar/DotNetCore.CAP.Pulsar.csproj
  2. +0
    -2
      src/DotNetCore.CAP.Pulsar/PulsarConsumerClient.cs
  3. +1
    -1
      src/DotNetCore.CAP/Processor/IProcessor.Collector.cs
  4. +1
    -1
      src/DotNetCore.CAP/Processor/IProcessor.NeedRetry.cs
  5. +1
    -1
      src/DotNetCore.CAP/Processor/IProcessor.TransportCheck.cs

+ 1
- 1
src/DotNetCore.CAP.Pulsar/DotNetCore.CAP.Pulsar.csproj Zobrazit soubor

@@ -12,7 +12,7 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="Pulsar.Client" Version="2.9.1" />
<PackageReference Include="Pulsar.Client" Version="2.10.0" />
</ItemGroup>

</Project>

+ 0
- 2
src/DotNetCore.CAP.Pulsar/PulsarConsumerClient.cs Zobrazit soubor

@@ -7,8 +7,6 @@ using System.Reflection;
using System.Threading;
using DotNetCore.CAP.Messages;
using DotNetCore.CAP.Transport;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Logging.Abstractions;
using Microsoft.Extensions.Options;
using Pulsar.Client.Api;
using Pulsar.Client.Common;


+ 1
- 1
src/DotNetCore.CAP/Processor/IProcessor.Collector.cs Zobrazit soubor

@@ -32,7 +32,7 @@ namespace DotNetCore.CAP.Processor
_tableNames = new[] { initializer.GetPublishedTableName(), initializer.GetReceivedTableName() };
}

public async Task ProcessAsync(ProcessingContext context)
public virtual async Task ProcessAsync(ProcessingContext context)
{
foreach (var table in _tableNames)
{


+ 1
- 1
src/DotNetCore.CAP/Processor/IProcessor.NeedRetry.cs Zobrazit soubor

@@ -33,7 +33,7 @@ namespace DotNetCore.CAP.Processor
_waitingInterval = TimeSpan.FromSeconds(options.Value.FailedRetryInterval);
}

public async Task ProcessAsync(ProcessingContext context)
public virtual async Task ProcessAsync(ProcessingContext context)
{
if (context == null)
{


+ 1
- 1
src/DotNetCore.CAP/Processor/IProcessor.TransportCheck.cs Zobrazit soubor

@@ -21,7 +21,7 @@ namespace DotNetCore.CAP.Processor
_waitingInterval = TimeSpan.FromSeconds(30);
}

public async Task ProcessAsync(ProcessingContext context)
public virtual async Task ProcessAsync(ProcessingContext context)
{
if (context == null)
{


Načítá se…
Zrušit
Uložit