first commit
This commit is contained in:
7
helix/constants/redis_constant.py
Normal file
7
helix/constants/redis_constant.py
Normal file
@@ -0,0 +1,7 @@
|
||||
import os
|
||||
|
||||
from helix.db.redis_manager import RedisManager
|
||||
|
||||
vcap_url = os.getenv('VCAP_SERVICES') # pws is best ws.
|
||||
heroku_url = os.getenv('REDIS_URL')
|
||||
redis_store = RedisManager.get_redis_connection(vcap_url, heroku_url)
|
||||
Reference in New Issue
Block a user