Skip to content

Commit

Permalink
[NOID] Fix wrong throttle config in Geocode.SupplierWithKey (#327)
Browse files Browse the repository at this point in the history
  • Loading branch information
vga91 committed Feb 16, 2023
1 parent 551bd72 commit 44dedee
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 44dedee

Please sign in to comment.