ues"> Issues 0 Pull Requests 0 Commits 489 Releases 0

拍爱

func_settings.py 457B

    # -*- coding: utf-8 -*- import redis_extensions as redis def redis_conf(conf): return { 'host': conf.get('HOST', 'localhost'), 'port': conf.get('PORT', 6379), 'password': '{}:{}'.format(conf.get('USER', ''), conf.get('PASSWORD', '')) if conf.get('USER') else '', 'db': conf.get('db', 0), } def redis_connect(conf): return redis.StrictRedisExtensions(connection_pool=redis.ConnectionPool(**redis_conf(conf)))
Pai2/pai2 - Gogs: Go Git Service

1 Commits (51e42ffc441011a70eea428bb04e924563e45791)

Auteur SHA1 Bericht Datum
  Brightcells feebb32686 Add pc website 9 jaren geleden