diff options
author | Diego <diegolparra@gmail.com> | 2014-04-23 13:38:11 -0300 |
---|---|---|
committer | Diego <diegolparra@gmail.com> | 2014-04-23 13:38:11 -0300 |
commit | 55ae74d503a3b8dd6c341586668259e3ca62a8d6 (patch) | |
tree | e5952ce0a3d4e92308bc6a91c828ac85832f59cb /kamon-core/src/main/scala/kamon/metrics | |
parent | c685b3035c5d7d6807cecc7a4c95e23aa89a58a1 (diff) | |
download | Kamon-55ae74d503a3b8dd6c341586668259e3ca62a8d6.tar.gz Kamon-55ae74d503a3b8dd6c341586668259e3ca62a8d6.tar.bz2 Kamon-55ae74d503a3b8dd6c341586668259e3ca62a8d6.zip |
+ all: fix compilation issues
Diffstat (limited to 'kamon-core/src/main/scala/kamon/metrics')
-rw-r--r-- | kamon-core/src/main/scala/kamon/metrics/Subscriptions.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kamon-core/src/main/scala/kamon/metrics/Subscriptions.scala b/kamon-core/src/main/scala/kamon/metrics/Subscriptions.scala index e398ebe0..c9990229 100644 --- a/kamon-core/src/main/scala/kamon/metrics/Subscriptions.scala +++ b/kamon-core/src/main/scala/kamon/metrics/Subscriptions.scala @@ -28,7 +28,7 @@ class Subscriptions extends Actor { import context.system val config = context.system.settings.config - val tickInterval = Duration(config.getNanoseconds("kamon.metrics.tick-interval"), TimeUnit.NANOSECONDS) + val tickInterval = Duration(config.getDuration("kamon.metrics.tick-interval", TimeUnit.NANOSECONDS), TimeUnit.NANOSECONDS) val flushMetricsSchedule = context.system.scheduler.schedule(tickInterval, tickInterval, self, FlushMetrics)(context.dispatcher) var lastTick: Long = System.currentTimeMillis() |