Use multiple Gearman servers
This commit is contained in:
parent
16f3dbfecb
commit
415b5c81fd
5 changed files with 20 additions and 5 deletions
|
@ -150,7 +150,7 @@ sub grades_generate
|
|||
|
||||
log DEBUG, "Computed grades: ".$grading->compute($login);
|
||||
|
||||
open my $xmlgrade, ">", "$basedir/$year/$project_id/grades/$login.xml" or croak "grades/$login.xml";
|
||||
open my $xmlgrade, ">", "$basedir/$year/$project_id/grades/$login.xml" or croak "grades/$login.xml: $!";
|
||||
binmode $xmlgrade;
|
||||
print $xmlgrade $grading->computeXML($login);
|
||||
close $xmlgrade;
|
||||
|
|
Reference in a new issue