I could be missing something, but it doesn't seem necessary to do a geocode request on every entity update. Sometimes, only unrelated fields are updated. This patch to geocoder_field_attach_presave() checks to see if the source field (e.g., addressfield) has changed. If not, perhaps there's no need to send another geocode request.

CommentFileSizeAuthor
geocoder-entity-update-bypass.patch1.57 KBcspiker

Comments

phayes’s picture

Status: Needs review » Reviewed & tested by the community

This looks good, thank you.

phayes’s picture

Status: Reviewed & tested by the community » Fixed

Committed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.