Skip to content

Commit c8c250d

Browse files
committed
fix(socket): add keepAlive
1 parent 2b68dfd commit c8c250d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/sdk-socket-server-next/src/analytics-api.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ export const getRedisOptions = (
7171
const options: RedisOptions = {
7272
...(isTls && tlsOptions),
7373
connectTimeout: 30000,
74+
keepAlive: 369,
7475
maxRetriesPerRequest: 4,
7576
retryStrategy: (times) => Math.min(times * 30, 1000),
7677
reconnectOnError: (error) => {

0 commit comments

Comments
 (0)