diff --git a/core/src/main/java/apoc/spatial/Geocode.java b/core/src/main/java/apoc/spatial/Geocode.java index 89cfe8aa36..adfe39920a 100755 --- a/core/src/main/java/apoc/spatial/Geocode.java +++ b/core/src/main/java/apoc/spatial/Geocode.java @@ -105,7 +105,7 @@ public SupplierWithKey(Configuration config, TerminationGuard terminationGuard, urlTemplate = urlTemplate.replace("KEY", key); urlTemplateReverse = urlTemplateReverse.replace("KEY", key); - this.throttler = new Throttler(terminationGuard, apocConfig().getInt(configKey("throttle"), (int) Throttler.DEFAULT_THROTTLE)); + this.throttler = new Throttler(terminationGuard, config.getInt(configKey("throttle"), (int) Throttler.DEFAULT_THROTTLE)); } @SuppressWarnings("unchecked")