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?

To enter a block of code:

  • enter empty line after your previous text
  • paste or type the code
  • select the code and press the button above
Preview: (hide)
arknotts's avatar
105
arknotts
asked 13 years ago

Comments

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.

To enter a block of code:

  • enter empty line after your previous text
  • paste or type the code
  • select the code and press the button above
Preview: (hide)
Evgeny's avatar
13.2k
Evgeny
answered 13 years ago
link

Comments

Thanks! I guess I answered my own question :-)
arknotts's avatar arknotts (13 years ago)

Does Askbot use djcelery only for sending email?

kate_r's avatar kate_r (12 years ago)

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

Evgeny's avatar Evgeny (12 years ago)
see more comments