barker/barker/barker/core/arq.py

6 lines
175 B
Python

from arq.connections import RedisSettings
from barker.core.config import settings as sett
settings = RedisSettings(host=sett.WORKER_REDIS_HOST, port=sett.WORKER_REDIS_PORT)