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

Comparing AnyEvent-MP/MP/Global.pm (file contents):
Revision 1.61 by root, Thu Mar 22 23:47:01 2012 UTC vs.
Revision 1.62 by root, Fri Mar 23 21:16:25 2012 UTC

219# switch to global mode 219# switch to global mode
220 220
221# regularly try to connect to global nodes - maybe use seeding code? 221# regularly try to connect to global nodes - maybe use seeding code?
222$MASTER_TIMER = AE::timer 0, $AnyEvent::MP::Kernel::CONFIG->{monitor_timeout}, sub { 222$MASTER_TIMER = AE::timer 0, $AnyEvent::MP::Kernel::CONFIG->{monitor_timeout}, sub {
223 (add_node $_)->connect 223 (add_node $_)->connect
224 for keys %{ $GLOBAL_DB{"'g"} }; 224 for other_globals;
225}; 225};
226 226
227# instantly connect to other global nodes when we learn of them 227# instantly connect to other global nodes when we learn of them
228# so we don't have to wait for the timer. 228# so we don't have to wait for the timer.
229#TODO 229#TODO

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines