First time here? Check out the FAQ!
1

What does AskBot use djcelery for?

I'm working my way through the code, and I'm still a little unclear on what askbot uses djcelery for. My understanding of celery is that it lets one run asynchronous jobs and djcelery integrates it with django. Does askbot use it to run potentially long tasks (like sending email) asynchronously after a post is updated to avoid UI delays?

arknotts's avatar
105
arknotts
asked 2011-04-19 19:38:47 -0600
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

1 Answer

0

That's exactly what askbot uses celery for - to send email asynchronously when the posts are made (instant email alerts). The docs need to be updated on how to configure celery.

Default configuration does not involve asynchronous tasks.

Evgeny's avatar
13.2k
Evgeny
answered 2011-04-19 21:56:21 -0600
edit flag offensive 0 remove flag delete link

Comments

Thanks! I guess I answered my own question :-)
arknotts's avatar arknotts (2011-04-20 20:01:52 -0600) edit

Does Askbot use djcelery only for sending email?

kate_r's avatar kate_r (2012-11-15 10:50:18 -0600) edit

Also to record page visits, in the future there might be more uses.

Evgeny's avatar Evgeny (2012-11-15 10:51:35 -0600) edit
add a comment see more comments