Thanks to visit codestin.com
Credit goes to github.com

Skip to content

fix: allow disabling keepAlive in TypeScript#1951

Open
knoid wants to merge 2 commits intoredis:mainfrom
knoid:disable-keep-alive
Open

fix: allow disabling keepAlive in TypeScript#1951
knoid wants to merge 2 commits intoredis:mainfrom
knoid:disable-keep-alive

Conversation

@knoid
Copy link

@knoid knoid commented Feb 2, 2025

Right now keepAlive is not disable-able when using typescript, not even when providing undefined because loadash.defaults sets it to 0 and that enables it.

This fix allows setting keepAlive to null in order to disable the functionality.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants