Skip to content

Commit

Permalink
Merge pull request #332 from gavinpc-mindgrub/use-redis-password
Browse files Browse the repository at this point in the history
Use Redis password from configuration when present.
  • Loading branch information
amercader authored Oct 25, 2018
2 parents fd5f2de + 9f8b98e commit 3808d52
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ckanext/harvest/queue.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ def get_connection_redis():
import redis
return redis.StrictRedis(host=config.get('ckan.harvest.mq.hostname', HOSTNAME),
port=int(config.get('ckan.harvest.mq.port', REDIS_PORT)),
password=config.get('ckan.harvest.mq.password', None),
db=int(config.get('ckan.harvest.mq.redis_db', REDIS_DB)))


Expand Down

0 comments on commit 3808d52

Please sign in to comment.