0

How do you send task to celery through redis pubsub once a new record has been inserted into a postgresql table?

My problem here is to get redis to listen for inserts in my postgresql table, and when it detects an insert, it should send tasks to celery. Any idea?

1 Answer 1

0

You have to tell redis that you have inserted a record in your table, not the other way around.

1
  • Whenever you do an insert to your database, you have to publish the fact on a redis channel. If redis is listening to the same channel this will solve your problem Jan 10, 2012 at 9:33

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .