Ask Your Question
1

What does AskBot use djcelery for?

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

arknotts gravatar image

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
0

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

Evgeny gravatar image

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

Comments

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

Does Askbot use djcelery only for sending email?

kate_r gravatar imagekate_r ( 2012-11-15 10:50:18 -0500 )edit

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

Evgeny gravatar imageEvgeny ( 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

Stats

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

Seen: 350 times

Last updated: Apr 19 '11