ソースを参照

Tweak some processors to visual for overwrite.

master
Savorboard 2年前
コミット
2a21bd7e7c
5個のファイルの変更4行の追加6行の削除
  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 ファイルの表示

@@ -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 ファイルの表示

@@ -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 ファイルの表示

@@ -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 ファイルの表示

@@ -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 ファイルの表示

@@ -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)
{


読み込み中…
キャンセル
保存