celery statsd

This commit is contained in:
codl 2017-08-28 17:19:07 +02:00
parent 8c0c521f6f
commit 2823f5fb76
No known key found for this signature in database
GPG Key ID: 6CD7C8891ED1233A
2 changed files with 3 additions and 1 deletions

View File

@ -42,4 +42,5 @@ urllib3==1.22
vine==1.1.4 vine==1.1.4
Werkzeug==0.12.2 Werkzeug==0.12.2
git+https://github.com/codl/Mastodon.py.git@forget git+https://github.com/codl/Mastodon.py.git@forget
statsd=3.2.1 statsd==3.2.1
celery_statsd==0.1.3

View File

@ -15,6 +15,7 @@ import json
from kombu import Queue from kombu import Queue
import random import random
import version import version
import celery_statsd
app = Celery('tasks', broker=flaskapp.config['CELERY_BROKER'], task_serializer='pickle') app = Celery('tasks', broker=flaskapp.config['CELERY_BROKER'], task_serializer='pickle')
app.conf.task_queues = ( app.conf.task_queues = (