graceful check_feeds task
This commit is contained in:
parent
999fea08bd
commit
8643fc42f9
@ -6,7 +6,7 @@ from djconfig import config
|
|||||||
from config.celery import app
|
from config.celery import app
|
||||||
|
|
||||||
|
|
||||||
@app.task(base=QueueOnce)
|
@app.task(base=QueueOnce, once={'graceful': True})
|
||||||
def check_feeds():
|
def check_feeds():
|
||||||
from feeds.models import Feed
|
from feeds.models import Feed
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user