You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I create redis client instance, I give a db param is 1
static RedisConfig: RedisOptions = {
port: 6379,
host: ServerSettings.redisInfo.host,
family: 4,
password: "2333",
db: 1,
enableAutoPipelining: true,
};
and I rpush a binary value to the list.
await this.redis.rpush(keyStr, msgs);
surprise, the list is in DB0
but lpop can not read the value.
if the db param is 0, it is all right.
The text was updated successfully, but these errors were encountered:
When I create redis client instance, I give a db param is 1
static RedisConfig: RedisOptions = {
port: 6379,
host: ServerSettings.redisInfo.host,
family: 4,
password: "2333",
db: 1,
enableAutoPipelining: true,
};
and I rpush a binary value to the list.
await this.redis.rpush(keyStr, msgs);
surprise, the list is in DB0
but lpop can not read the value.
if the db param is 0, it is all right.
The text was updated successfully, but these errors were encountered: