Skip to content

Commit

Permalink
[NOID] Fix wrong throttle config in Geocode.SupplierWithKey (neo4j/ap…
Browse files Browse the repository at this point in the history
  • Loading branch information
vga91 authored Feb 21, 2023
1 parent a758763 commit 205b143
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/main/java/apoc/spatial/Geocode.java
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit 205b143

Please sign in to comment.