graceful check_feeds task

This commit is contained in:
bakatrouble 2019-01-26 12:43:15 +03:00
parent 999fea08bd
commit 8643fc42f9

View File

@ -6,7 +6,7 @@ from djconfig import config
from config.celery import app
@app.task(base=QueueOnce)
@app.task(base=QueueOnce, once={'graceful': True})
def check_feeds():
from feeds.models import Feed