felixge / felixge/tcpkeepalive

The number of threads is increasing

Open
#8 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
248
Forks
35
PR merge metrics
No merged PRs in 30d

Description

The number of threads used by the process shown by the system has been increasing, can you give me some suggestions, thx!
I used it by following command:
```
kaConn, _ := tcpkeepalive.EnableKeepAlive(clientConn)
kaConn.SetKeepAliveIdle(30 * time.Second)
kaConn.SetKeepAliveCount(4)
kaConn.SetKeepAliveInterval(5 * time.Second)
```
system info: Linux version 3.10.0-1062.12.1.el7.x86_64

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.