Ask Your Question

What does AskBot use djcelery for?

asked 2011-04-19 19:38:47 -0500

arknotts's avatar

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?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2011-04-19 21:56:21 -0500

Evgeny's avatar

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.

edit flag offensive delete link more


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

Does Askbot use djcelery only for sending email?

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

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

Evgeny's avatar Evgeny  ( 2012-11-15 10:51:35 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools


Asked: 2011-04-19 19:38:47 -0500

Seen: 448 times

Last updated: Apr 19 '11