We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b75069f commit eec27dfCopy full SHA for eec27df
3 files changed
.github/workflows/ci.yml
@@ -21,7 +21,7 @@ jobs:
21
22
services:
23
redis:
24
- image: redis
+ image: redis:7
25
options: >-
26
--health-cmd "redis-cli ping"
27
--health-interval 10s
compose.yaml
@@ -1,6 +1,6 @@
1
2
3
- image: redis:5
4
ports:
5
- "6379:6379"
6
lib/util.ts
@@ -42,6 +42,11 @@ function isRedisV4Client(redisClient: any) {
42
43
export async function duplicateClient(redisClient: any) {
44
const newClient = redisClient.duplicate();
45
+
46
+ newClient.on("error", (err) => {
47
+ // ignore errors
48
+ });
49
50
if (isRedisV4Client(redisClient)) {
51
await newClient.connect();
52
}
0 commit comments