celery statsd
This commit is contained in:
parent
8c0c521f6f
commit
2823f5fb76
|
@ -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
|
||||||
|
|
1
tasks.py
1
tasks.py
|
@ -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 = (
|
||||||
|
|
Loading…
Reference in New Issue