Browse Source

Attempt to have a longer geocoding timeout

remotes/origin/master
echarp 2 years ago
parent
commit
99223c1f2d
  1. 2
      config/initializers/geocoder.rb

2
config/initializers/geocoder.rb

@ -1,6 +1,6 @@
Geocoder.configure(
# geocoding options
# timeout: 3, # geocoding service timeout (secs)
timeout: 30, # geocoding service timeout (secs)
lookup: :nominatim, # name of geocoding service (symbol)
language: :fr, # ISO-639 language code
http_headers: { 'User-Agent' => 'agendadulibre.org' }

Loading…
Cancel
Save