Redis CRUD Client
# -*-coding:utf-8 -*-
import redis
from config.redis_config import CACHE_REDIS_CONF
# CACHE_REDIS_CONF = {
# "host": "x.x.x.x",
# "port": ????,
# "password": ??????,
# "db": ??,
# }
redis_pool = redis.ConnectionPool(max_connections=100, **CACHE_REDIS_CONF)
redis_conn = redis.Redis(connection_pool=redis_pool)