Skip to content

Commit

Permalink
Change EventCounterIntervalSec to 1 sec to fix issue caused in dotnet…
Browse files Browse the repository at this point in the history
…-counters (#9235)

Solves #9234

Co-authored-by: Giannis Ntovas <[email protected]>
  • Loading branch information
ntovas and Giannis Ntovas authored Nov 18, 2024
1 parent cea079a commit 97f71b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Orleans.Core/Statistics/EnvironmentStatistics.cs
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ protected override void OnEventSourceCreated(EventSource source)
{
if (source.Name.Equals("System.Runtime"))
{
Dictionary<string, string?>? refreshInterval = new() { ["EventCounterIntervalSec"] = "0.5" };
Dictionary<string, string?>? refreshInterval = new() { ["EventCounterIntervalSec"] = "1" };
EnableEvents(source, EventLevel.Informational, (EventKeywords)(-1), refreshInterval);
}
}
Expand Down

0 comments on commit 97f71b5

Please sign in to comment.