schlosser / eventum

An event-driven CMS that syncs with Google Apps
21 stars 15 forks source link

RQ task queue #114

Closed alanhdu closed 8 years ago

alanhdu commented 9 years ago

Works in development, need to figure out how to actually deploy Redis and RQ.

natebrennand commented 9 years ago

Would be nice to have a README section, or something that is super explicit about how to write a task. Could also be a good move to have a decorator that logs the tasks (like their start and end times).

natebrennand commented 9 years ago

I think we'd want to have a consumer of the failed queue to insert them into a mongo collection for easy inspection.

Thinking about this in terms of handling emails, we might want to log those into the database as well so that they can be navigated via a web UI.

natebrennand commented 9 years ago

thoughts? cc @danrschlosser

schlosser commented 9 years ago

Let's put this on :yellow_heart: (hold)

I think we shouldn't merge this until we have it tested with an actual task that works. We should build on top of this with:

  1. A task that merits use of RQ (Google Calendar, Emails, other things)
  2. Some interface for managing those tasks on the web