Ask Your Question
1

What does AskBot use djcelery for?

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

arknotts gravatar image arknotts
105 3 3 7

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?

delete close flag offensive retag edit

1 Answer

Sort by ยป oldest newest most voted
0

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

Evgeny gravatar image Evgeny flag of Chile
11329 50 84 183
http://askbot.org/

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.

link publish delete flag offensive edit

Comments

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

Does Askbot use djcelery only for sending email?

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

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

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

Your answer

Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Reliable Askbot Hosting

Create your Q&A site at askbot.com. Managed Askbot hosting at just $15/mo. Dedicated hosting, support contracts, consulting services.

create your Q&A site
30 days free trial

Question tools

Follow

subscribe to rss feed

Stats

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

Seen: 148 times

Last updated: Apr 19 '11