diff --git a/iep-rxhttp/src/main/java/com/netflix/iep/http/RxHttp.java b/iep-rxhttp/src/main/java/com/netflix/iep/http/RxHttp.java index 96002553..ad52d4f4 100644 --- a/iep-rxhttp/src/main/java/com/netflix/iep/http/RxHttp.java +++ b/iep-rxhttp/src/main/java/com/netflix/iep/http/RxHttp.java @@ -16,7 +16,6 @@ package com.netflix.iep.http; import com.netflix.config.ConfigurationManager; -import com.netflix.spectator.api.Spectator; import com.netflix.spectator.impl.Preconditions; import com.netflix.spectator.sandbox.HttpLogEntry; import io.reactivex.netty.client.CompositePoolLimitDeterminationStrategy; @@ -144,7 +143,7 @@ public void start() { } }; - final long cleanupFreq = Spectator.config().getLong("spectator.http.cleanupFrequency", 60); + final long cleanupFreq = config.getLong("netflix.iep.http.cleanupFrequency", 60); executor.scheduleWithFixedDelay(task, 0L, cleanupFreq, TimeUnit.SECONDS); }