瀏覽代碼

The private static variable _isHealthy has no meaning in a singleton. If you use multi-host mode, there will be status detection problems (#982)

master
lbhnrg2021 3 年之前
committed by GitHub
父節點
當前提交
1ef8cf5166
沒有發現已知的金鑰在資料庫的簽署中 GPG Key ID: 4AEE18F83AFDEB23
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      src/DotNetCore.CAP/Internal/IConsumerRegister.Default.cs

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

@@ -35,7 +35,7 @@ namespace DotNetCore.CAP.Internal
private BrokerAddress _serverAddress;
private Task _compositeTask;
private bool _disposed;
private static bool _isHealthy = true;
private bool _isHealthy = true;

// diagnostics listener
// ReSharper disable once InconsistentNaming


Loading…
取消
儲存