… | |
… | |
113 | |
113 | |
114 | return if $self->{transport}; |
114 | return if $self->{transport}; |
115 | return if $self->{connect_w}; |
115 | return if $self->{connect_w}; |
116 | |
116 | |
117 | Scalar::Util::weaken $self; |
117 | Scalar::Util::weaken $self; |
118 | use Carp;Carp::cluck;#d# |
|
|
119 | |
118 | |
120 | $self->{connect_to} ||= AE::timer $AnyEvent::MP::Kernel::CONFIG->{connect_interval}, 0, sub { |
119 | $self->{connect_to} ||= AE::timer $AnyEvent::MP::Kernel::CONFIG->{connect_interval}, 0, sub { |
121 | $self->transport_error (transport_error => $self->{id}, "unable to connect"); |
120 | $self->transport_error (transport_error => $self->{id}, "unable to connect"); |
122 | }; |
121 | }; |
123 | |
122 | |