Merge pull request #1359 from randomnicode/minorfixtostatictimeunit

Minor fix to static time unit call
master
François-Xavier Thomas 5 years ago committed by GitHub
commit b37cbf6617
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      airsonic-main/src/main/java/org/airsonic/player/monitor/MetricsManager.java

@ -32,7 +32,7 @@ public class MetricsManager {
// Start a Metrics JMX reporter
reporter = JmxReporter.forRegistry(metrics)
.convertRatesTo(TimeUnit.SECONDS.SECONDS)
.convertRatesTo(TimeUnit.SECONDS)
.convertDurationsTo(TimeUnit.MILLISECONDS)
.build();
reporter.start();

Loading…
Cancel
Save