Todd-Davies/appengine-website

Notes downloading broken

Closed this issue · 0 comments

Visiting /api/notes-dl/* produces a 500 exception since the servlet tries to create a new threat with which to update the download count in Datastore. This was originally broken in c38b496 and the emergency fix (122a355) simply changed the error.

Use task queues instead of asynchronous datastore operations is preferred here (see here).