GispoCoding / tarmo

Tarmo - Tampere Mobilemap
https://ulkoilutampereenseutu.fi/
MIT License
11 stars 3 forks source link

Increase AWS lambda (and later azure functions) timeout #92

Open Rikuoja opened 2 years ago

Rikuoja commented 2 years ago

Currently big update requests (e.g. aws lambda invoke --cli-binary-format raw-in-base64-out --function-name osm_loader --payload '{"close_to_lon": 23.7634608, "close_to_lat":61.4976505, "radius": 100}' response_osm.json ) fail because importing all parking lots within 100 km radius involves a request that takes more than three minutes.

We may have to increase both 1) function request timeout and 2) Overpass API request timeout.