feat(gw): added connection with retry
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user