Open schlosser opened 9 years ago
Comment by natebrennand Sunday Nov 23, 2014 at 20:15 GMT
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).
Comment by natebrennand Sunday Nov 23, 2014 at 20:17 GMT
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.
Comment by danrschlosser Monday Nov 24, 2014 at 01:22 GMT
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:
Issue by alanhdu Friday Nov 14, 2014 at 20:26 GMT Originally opened as https://github.com/danrschlosser/eventum/pull/114
Works in development, need to figure out how to actually deploy Redis and RQ.
alanhdu included the following code: https://github.com/danrschlosser/eventum/pull/114/commits