ChangedenChan

Results 17 comments of ChangedenChan

使用redisOptions中的password时要在对应node的password中配为null。 官方文档 **If some of nodes in the cluster using a different password, you should specify them in the first parameter:** ```js var Redis = require("ioredis"); var cluster = new...

> @ChangedenCZD > https://github.com/eggjs/egg-redis/blob/83d54044eff260fc3d704a394c410469f4e8b89e/lib/redis.js#L19 > egg-redis 要求必须写 password,但如果配置了默认密码,每个 node 还必须设置 password: null 会显得很冗余,只是一个小建议。 > > 是否有必要对这个密码参数的进行校验?直接交给 ioredis 处理会有什么问题呢?望指导 您希望是undefined时使用redisOptions中的password?

modify two files ## {pythonpath}/Lib/site-packages/tavern/_plugins/rest/request.js add one line code below `add_request_args(optional_in_file, True)` ```python optional_in_file.append("url") ``` like ```python ... add_request_args(required_in_file, False) add_request_args(optional_in_file, True) optional_in_file.append("url") if "auth" in fspec: request_args["auth"] = tuple(fspec["auth"])...

right now, you can write url by functional in your yaml file. ```yaml ... stages: - name: test functional url request: url: $ext: function: utils.url_generator:test_functional extra_kwargs: env: "{variablesname}" response: ......

关联的pr,需要优先发版 https://github.com/eggjs/egg-rpc/pull/8 https://github.com/sofastack/sofa-rpc-node/pull/84

> 例如: > responseType: 'blob', > timeout: 10000, > 等属性 setTimeout setHeaders

更多自定义选项,请更新0.4.0版本,在api options实例中调用setCustomOptions