nationalparkservice / places-api

An API, written in Node as Express middleware, built to work with the OSM API database schema. Used internally by Places.
The Unlicense
0 stars 0 forks source link

Busy wait when getting data/source/id #23

Closed regan-sarwas closed 8 years ago

regan-sarwas commented 8 years ago

When uploading a large changeset, the server may still be processing the changeset, so sleep, and try again. Server returns a 404 (not found) error if there is no changeset with the id; Need to ensure server returns a different response when the changeset exists, but is not fully formed.

regan-sarwas commented 8 years ago

oops, wrong repo!