redis / go-redis

Redis Go client
https://redis.uptrace.dev
BSD 2-Clause "Simplified" License
19.6k stars 2.31k forks source link

Use the default 15-seconds TCP-Keepalive #3014

Open tahajahangir opened 1 month ago

tahajahangir commented 1 month ago

This reverts commit 4bf8b5a128b70cad518e5deeeeeec86315428837

TCP-Keepalives are enable by default in go since go 1.12 in this commit few months after #825 were merged.

Now the default value of 15-seconds is better and safer and we can remove this.