Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

增加redis支持密码授权和选择数据库索引配置功能 #215

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

qgm168
Copy link

@qgm168 qgm168 commented Mar 29, 2018

1、zcommon.h 在settings数据结构里增加 ssdb_passwd,ssdb_index成员属性;
2、main.c settings.init初始化ssdb_passwd,ssdb_index;load_conf读取配置赋值到ssdb_passwd,ssdb_index;增加createRedisContext方法;替换两处调用redisConnect为createRedisContext;
3、zimg.lua 增加 ssdb_passwd,ssdb_index 两项配置;

@maventalker
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants