How can I restrict Celery to run a task that is already queued with the same arguments?

Published: 5/10/2017
How can I restrict Celery to run a task that is already queued with the same arguments?
Source: STACKOVERFLOW.COM

I use celery to update RSS feeds in my news aggregation site. I use one @task for each feed, and things seem to work nicely. There's a detail that I'm not sure to handle well though: all feeds are updated once every minute with a @periodic_task , but what if a feed is still updating from the last periodic task when a new one is started ? (For example if the feed is really slow, or offline and th

Read more
Related news
Comment