version 1.116, 2011/08/09 01:27:42
|
version 1.117, 2011/08/09 01:35:31
|
Line 415 sub handler {
|
Line 415 sub handler {
|
} |
} |
} |
} |
|
|
if ($r->dir_config("lonBalancer") eq 'yes') { |
my ($is_balancer,$otherserver) = |
my $otherserver = &Apache::lonnet::spareserver(30000,undef,1,$form{'udom'}); |
&Apache::lonnet::check_loadbalancing($form{'uname'},$form{'udom'}); |
|
|
|
if ($is_balancer) { |
if (!$otherserver) { |
if (!$otherserver) { |
($otherserver) = &Apache::lonnet::choose_server($form{'udom'}); |
($otherserver) = &Apache::lonnet::choose_server($form{'udom'}); |
} |
} |