ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/AnyEvent-MP/MP/Node.pm
(Generate patch)

Comparing AnyEvent-MP/MP/Node.pm (file contents):
Revision 1.25 by root, Sat Aug 15 15:08:07 2009 UTC vs.
Revision 1.26 by root, Sat Aug 15 15:13:04 2009 UTC

120 unless ($self->{connect_w}) { 120 unless ($self->{connect_w}) {
121 my @endpoints; 121 my @endpoints;
122 my %trial; 122 my %trial;
123 123
124 $self->{connect_w} = AE::timer 124 $self->{connect_w} = AE::timer
125 0, 125 rand,
126 $AnyEvent::MP::Config::CFG{connect_interval} || $AnyEvent::MP::Kernel::CONNECT_INTERVAL, 126 $AnyEvent::MP::Config::CFG{connect_interval} || $AnyEvent::MP::Kernel::CONNECT_INTERVAL,
127 sub { 127 sub {
128 @endpoints = split /,/, $self->{noderef} 128 @endpoints = split /,/, $self->{noderef}
129 unless @endpoints; 129 unless @endpoints;
130 130

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines