Skip to content

Commit

Permalink
fix unexpected TimeSeriesLimitReached after HistogramLimitReached(dot…
Browse files Browse the repository at this point in the history
  • Loading branch information
itn3000 committed Nov 4, 2021
1 parent bfc5ebc commit 3273e37
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@ private void RemoveInstrumentState(Instrument instrument, InstrumentState state)
{
lock (this)
{
return (!CheckTimeSeriesAllowed() || !CheckHistogramAllowed()) ?
return (!CheckHistogramAllowed() || !CheckTimeSeriesAllowed()) ?
null :
new ExponentialHistogramAggregator(s_defaultHistogramConfig);
}
Expand Down

0 comments on commit 3273e37

Please sign in to comment.