Skip to content

Commit 64a9288

Browse files
author
Felix Robles
committed
small fixes
1 parent cefbcba commit 64a9288

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/datastore/drivers/redis/RedisStore.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ export class RedisStore implements Process {
6767

6868
await promisify(this.client.quit.bind(this.client))()
6969

70-
// Dereference the pool
70+
// Dereference the client
7171
this.client = undefined
7272
this.healthyState = false
7373
}

tests/datastore/drivers/redis/RedisStore.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ describe("RedisStore", () => {
4848
describe("eval", () => {
4949
it("should execute lua scripts and get the results", async () => {
5050
let luaScript1 = 'return redis.call("set", KEYS[1], ARGV[1])'
51-
let setResult1 = await testStore.eval<string | null>(luaScript1, [
51+
let setResult1 = await testStore.eval<string>(luaScript1, [
5252
1,
5353
key,
5454
value,

0 commit comments

Comments
 (0)