Sha256: 8c1f2e5160adddf6c2457c45b6a5196c23a43aadd17481e56743435f39a88af4
Contents?: true
Size: 841 Bytes
Versions: 2
Compression:
Stored size: 841 Bytes
Contents
from os import environ BROKER_HOST = environ.get('RCELERY_HOST', "localhost") BROKER_PORT = environ.get('RCELERY_PORT', 5672) BROKER_USER = environ.get('RCELERY_USERNAME', "guest") BROKER_PASSWORD = environ.get('RCELERY_PASSWORD', "guest") BROKER_VHOST = environ.get('RCELERY_VHOST', "/integration") CELERY_RESULT_BACKEND = "amqp" CELERY_RESULT_PERSISTENT = True CELERY_QUEUES = { "rcelery.integration": {"exchange": "celery", "routing_key": "rcelery.integration"}, "rcelery.python.integration": {"exchange": "celery", "routing_key": "rcelery.python.integration"} } CELERY_DEFAULT_QUEUE = "rcelery.integration" CELERY_RESULT_SERIALIZER = "json" CELERY_TASK_SERIALIZER = "json" CELERY_AMQP_TASK_RESULT_EXPIRES = 3600 CELERY_IMPORTS = ("tasks", ) CELERY_SEND_EVENTS = True
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
rcelery-1.0.1 | spec/integration/python_components/celeryconfig.py |
rcelery-1.0.0 | spec/integration/python_components/celeryconfig.py |