Skip to content

Commit

Permalink
Fix typo in GarnetServerMonitor (#286)
Browse files Browse the repository at this point in the history
* Remove unused function and fix typo in GarnetServerMonitor

* Re-add GetAllLockets

---------

Co-authored-by: Tal Zaccai <[email protected]>
Co-authored-by: vazois <[email protected]>
  • Loading branch information
3 people authored Apr 19, 2024
1 parent 23e13f0 commit 9a3af00
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libs/server/Metrics/GarnetServerMonitor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ private void UpdateInstantaneousMetrics()
}
}

private void UpdatAllMetricsHistory()
private void UpdateAllMetricsHistory()
{
//Reset session metrics accumulator
accSessionMetrics.Reset();
Expand Down Expand Up @@ -263,7 +263,7 @@ private async void MainMonitorTask(CancellationToken token)
globalMetrics.total_connections_disposed = garnetServer.get_conn_disp();

UpdateInstantaneousMetrics();
UpdatAllMetricsHistory();
UpdateAllMetricsHistory();
UpdateAllMetrics(server);

//Reset & Cleanup
Expand Down

0 comments on commit 9a3af00

Please sign in to comment.