Last change
on this file since 15142 was
15135,
checked in by tomhughes, 11 years ago
|
Add a global timeout that is applied to most API requests.
|
File size:
746 bytes
|
Line | |
---|
1 | standard_settings: &standard_settings |
---|
2 | # The maximum area you're allowed to request, in square degrees |
---|
3 | max_request_area: 0.25 |
---|
4 | # Number of GPS trace/trackpoints returned per-page |
---|
5 | tracepoints_per_page: 5000 |
---|
6 | # Maximum number of nodes that will be returned by the api in a map request |
---|
7 | max_number_of_nodes: 50000 |
---|
8 | # Maximum number of nodes that can be in a way (checked on save) |
---|
9 | max_number_of_way_nodes: 2000 |
---|
10 | # Zoom level to use for postcode results from the geocoder |
---|
11 | postcode_zoom: 15 |
---|
12 | # Zoom level to use for geonames results from the geocoder |
---|
13 | geonames_zoom: 12 |
---|
14 | # Timeout for API calls in seconds |
---|
15 | api_timeout: 300 |
---|
16 | |
---|
17 | development: |
---|
18 | <<: *standard_settings |
---|
19 | |
---|
20 | production: |
---|
21 | <<: *standard_settings |
---|
22 | |
---|
23 | test: |
---|
24 | <<: *standard_settings |
---|
Note: See
TracBrowser
for help on using the repository browser.