Did I find the right examples for you? yes no

All Samples(0)  |  Call(0)  |  Derive(0)  |  Import(0)

src/o/p/opencloud-HEAD/celeryconfig.py   opencloud(Download)
import config
 
BROKER_URL = "redis://{0}:{1}/{2}".format(config.REDIS_HOST, config.REDIS_PORT, config.REDIS_DB)
CELERY_RESULT_BACKEND = "redis"
CELERY_REDIS_HOST = config.REDIS_HOST
CELERY_REDIS_PORT = config.REDIS_PORT
CELERY_REDIS_DB = config.REDIS_DB

src/f/r/FRBR-Redis-Datastore-HEAD/parsers/marc2frbr_rda.py   FRBR-Redis-Datastore(Download)
    redis_server = redis.StrictRedis(host=config.REDIS_HOST,
                                 port=config.REDIS_PORT,
                                 db=config.REDIS_DB)
    print("Running MARC21 to Redis FRBR standalone mode on %s" %\
          datetime.datetime.now().isoformat())

src/f/r/FRBR-Redis-Datastore-HEAD/parsers/marc2frbr.py   FRBR-Redis-Datastore(Download)
redis_server = redis.StrictRedis(host=config.REDIS_HOST,
                                 port=config.REDIS_PORT,
                                 db=config.REDIS_DB)
 
record_queue = Queue.Queue()

src/f/r/FRBR-Redis-Datastore-HEAD/lib/common.py   FRBR-Redis-Datastore(Download)
    REDIS_HOST = config.REDIS_HOST
    REDIS_PORT = config.REDIS_PORT
    REDIS_DB = config.REDIS_DB
except ImportError:
    REDIS_HOST = '127.0.0.1'

src/u/r/url_shortener-0.5.20/url_shortener/shorten.py   url_shortener(Download)
    def __init__(self):
        self.redis = redis.StrictRedis(host=config.REDIS_HOST,
                                       port=config.REDIS_PORT,
                                       db=config.REDIS_DB)
 

src/a/r/aristotle-library-apps-HEAD/aristotle/lib/common.py   aristotle-library-apps(Download)
    REDIS_HOST = config.REDIS_HOST
    REDIS_PORT = config.REDIS_PORT
    REDIS_DB = config.REDIS_DB
except ImportError:
    REDIS_HOST = '127.0.0.1'