diff options
| author | Alban Peignier | 2018-04-04 10:02:53 +0200 |
|---|---|---|
| committer | Alban Peignier | 2018-04-04 10:02:53 +0200 |
| commit | 2cb5225efbb080707c060e4038ae6d48612515f0 (patch) | |
| tree | 55ab43498d5f0cef50a64b0a43a5f496de5dbef2 | |
| parent | 6be13632388dd938a60447b540519678083c5711 (diff) | |
| download | chouette-core-2cb5225efbb080707c060e4038ae6d48612515f0.tar.bz2 | |
Add a small log message for each TomTom invocation. Refs #62226222-route-way-costs--use-TomTom-matrix-API-instead-of-batch
| -rw-r--r-- | lib/tom_tom/matrix.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/tom_tom/matrix.rb b/lib/tom_tom/matrix.rb index 747133b53..b0c8cc335 100644 --- a/lib/tom_tom/matrix.rb +++ b/lib/tom_tom/matrix.rb @@ -8,6 +8,8 @@ module TomTom points_with_ids = points_from_way_costs(way_costs) points = points_as_params(points_with_ids) + Rails.logger.info "Invoke TomTom for #{points.size} points" + response = @connection.post do |req| req.url '/routing/1/matrix/json' req.headers['Content-Type'] = 'application/json' |
