add healthcheck service

This commit is contained in:
2024-08-17 01:44:20 +03:00
parent 25762cbae8
commit f635d4ca5b
11 changed files with 422 additions and 15 deletions

View File

@ -39,6 +39,7 @@ func New(addr string) (*client, error) {
KeepAlive: time.Second * 30,
}).DialContext,
MaxIdleConns: 10,
MaxConnsPerHost: 100,
IdleConnTimeout: time.Second * 90,
TLSHandshakeTimeout: time.Second * 5,
ExpectContinueTimeout: time.Second * 1,