Skip to content

Commit c347ece

Browse files
committed
add 5min ping interval by default
1 parent b8d7972 commit c347ece

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/redis-adapter.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,7 @@ const _createClientBase = (clientName) => {
9999
} = cfEnv.cfServiceCredentialsForLabel(CF_REDIS_SERVICE_LABEL);
100100
const redisClientOptions = {
101101
password,
102+
pingInterval: 5 * 60000,
102103
socket: {
103104
host,
104105
port,

0 commit comments

Comments
 (0)