Multiple updates
Some checks failed
rolling-release / build (push) Has been cancelled
rolling-release / rolling-release (push) Has been cancelled

This commit is contained in:
Dmitrii Okunev
2025-07-12 22:21:28 +01:00
parent 2ae50b98db
commit 1004082fe4
48 changed files with 1930 additions and 659 deletions

View File

@@ -4,6 +4,7 @@ import (
"bytes"
"context"
"crypto"
"crypto/tls"
"encoding/json"
"errors"
"fmt"
@@ -42,7 +43,7 @@ import (
"google.golang.org/grpc"
"google.golang.org/grpc/backoff"
"google.golang.org/grpc/codes"
"google.golang.org/grpc/credentials/insecure"
"google.golang.org/grpc/credentials"
"google.golang.org/grpc/stats"
"google.golang.org/grpc/status"
)
@@ -163,7 +164,9 @@ func (c *Client) connect(
) (*grpc.ClientConn, error) {
opts := []grpc.DialOption{
grpc.WithTransportCredentials(
insecure.NewCredentials(),
credentials.NewTLS(&tls.Config{
InsecureSkipVerify: true,
}),
),
grpc.WithConnectParams(grpc.ConnectParams{
Backoff: backoff.Config{