retask

2 views
Skip to first unread message

Devi

unread,
May 23, 2013, 9:43:21 AM5/23/13
to hasgeek-code
Hi,

I'm trying to make image uploads to S3 in Imgee async and using retask [1] for that. The code is at [2]. The problem is that I couldn't find a way to mark a task as done in retask something like the Queue [3] from std lib has. Without that, what happens if the upload fails? I can add the same task back to the queue. But what if the consumer process is restarted while the upload is being done?

Also, what's the best way to daemonize the queue consumer process - upstart?
~Devi
Reply all
Reply to author
Forward
0 new messages