feat(gw): added connection with retry

This commit is contained in:
ITQ
2025-12-17 18:36:27 +03:00
parent 154e0b0779
commit 383f67893e
3 changed files with 31 additions and 2 deletions
+1 -1
View File
@@ -15,7 +15,7 @@ type AuthClient struct {
}
func NewAuthClient(ctx context.Context, address string, factory *ClientFactory) (*AuthClient, error) {
conn, err := factory.GetConnection(ctx, address)
conn, err := factory.GetConnectionWithRetry(ctx, address)
if err != nil {
return nil, fmt.Errorf("failed to create auth client: %w", err)
}