From 8643fc42f9c27ef625143330b4de339193212581 Mon Sep 17 00:00:00 2001 From: bakatrouble Date: Sat, 26 Jan 2019 12:43:15 +0300 Subject: [PATCH] graceful check_feeds task --- feeds/tasks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/feeds/tasks.py b/feeds/tasks.py index 68fb8b9..4833661 100644 --- a/feeds/tasks.py +++ b/feeds/tasks.py @@ -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