瀏覽代碼

fixed #622 #624 (#625)

master
mHalo 4 年之前
committed by GitHub
父節點
當前提交
d029b6c30d
沒有發現已知的金鑰在資料庫的簽署中 GPG 金鑰 ID: 4AEE18F83AFDEB23
共有 2 個檔案被更改,包括 2 行新增2 行删除
  1. +1
    -1
      src/DotNetCore.CAP.PostgreSql/IMonitoringApi.PostgreSql.cs
  2. +1
    -1
      src/DotNetCore.CAP/Internal/IConsumerServiceSelector.Default.cs

+ 1
- 1
src/DotNetCore.CAP.PostgreSql/IMonitoringApi.PostgreSql.cs 查看文件

@@ -108,8 +108,8 @@ namespace DotNetCore.CAP.PostgreSql
{
Id = reader.GetInt64(index++),
Version = reader.GetString(index++),
Group = queryDto.MessageType == MessageType.Subscribe ? reader.GetString(index++) : default,
Name = reader.GetString(index++),
Group = queryDto.MessageType == MessageType.Subscribe ? reader.GetString(index++) : default,
Content = reader.GetString(index++),
Retries = reader.GetInt32(index++),
Added = reader.GetDateTime(index++),


+ 1
- 1
src/DotNetCore.CAP/Internal/IConsumerServiceSelector.Default.cs 查看文件

@@ -125,7 +125,7 @@ namespace DotNetCore.CAP.Internal
// Ignore partial attributes when no topic attribute is defined on class.
if (topicClassAttribute is null)
{
topicMethodAttributes = topicMethodAttributes.Where(x => x.IsPartial);
topicMethodAttributes = topicMethodAttributes.Where(x => !x.IsPartial);
}

if (!topicMethodAttributes.Any())


Loading…
取消
儲存