sontek/pyramid_celery — Issue #1: line 14 in tasks.py in the demo app makes assumptions about the db which may not be valid for an async task
Author: xrotwang
Created: 2012-01-11 07:24:39+00:00
State: open

with two instances of pceleryd running, wild clicking on "delete" links in the web interface made it possible to schedule multiple delete-tasks for the same TaskItem, which resulted in an exception in the task (IndexError when trying to get the first item of an empty query) and in an BrokenPipe error in the web app server . While this is a minor bug, I think it would be a good thing to promote correct handling of asynchronous code in this demo app.