mirror of
https://github.com/Caraxi/mare.server.git
synced 2025-12-11 04:57:22 +01:00
fix bug
This commit is contained in:
parent
8ac0c26de9
commit
5754fdf5bc
1 changed files with 1 additions and 1 deletions
|
|
@ -26,7 +26,7 @@ public sealed class ConcurrencyFilter : IHubFilter, IDisposable
|
|||
var token = _cancellationToken.Token;
|
||||
while (!token.IsCancellationRequested)
|
||||
{
|
||||
mareMetrics.SetGaugeTo(MetricsAPI.GaugeHubConcurrency, _limiter.CurrentCount);
|
||||
mareMetrics.SetGaugeTo(MetricsAPI.GaugeHubConcurrency, _limiter?.CurrentCount ?? 0);
|
||||
await Task.Delay(TimeSpan.FromSeconds(1)).ConfigureAwait(false);
|
||||
}
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue