Skip to content

Commit

Permalink
Set "geocoder" to "cached" when the values have been retrieved from t…
Browse files Browse the repository at this point in the history
…he L2 cache
  • Loading branch information
nigelhorne committed Aug 26, 2023
1 parent 5b9052b commit 2b7e195
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
3 changes: 3 additions & 0 deletions Changes
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
Revision history for Geo-Coder-List

0.32
Set "geocoder" to "cached" when the values have been retrieved from the L2 cache

0.31 Thu Jun 29 09:23:17 EDT 2023
Change the croaks to carps
Fix test when Geo::Coder::Free is not installed
Expand Down
4 changes: 3 additions & 1 deletion lib/Geo/Coder/List.pm
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,8 @@ sub geocode {
line => $call_details[2],
location => $location,
timetaken => 0,
wantarray => wantarray,
gecoder => 'cached',
wantarray => 0,
result => $rc
};
CORE::push @{$self->{'log'}}, $log;
Expand Down Expand Up @@ -195,6 +196,7 @@ sub geocode {
line => $call_details[2],
location => $location,
timetaken => 0,
gecoder => 'cached',
wantarray => wantarray,
result => \@rc
};
Expand Down

0 comments on commit 2b7e195

Please sign in to comment.