aboutsummaryrefslogtreecommitdiff
path: root/src/private
diff options
context:
space:
mode:
authorRodrigo Laiola GuimarĂ£es <rlaiola@users.noreply.github.com>2023-04-17 12:13:40 +0000
committerGitHub <noreply@github.com>2023-04-17 12:13:40 +0000
commit98d9dd26e241b0a7a494af02262ab5e1f7eb3aa4 (patch)
tree401bee579b9678e6efdd3ef4dbc4eca2c47a7973 /src/private
parent991cb0ed962f348761ad473aa5ce5c0da12333ae (diff)
downloadboca-98d9dd26e241b0a7a494af02262ab5e1f7eb3aa4.tar.gz
boca-98d9dd26e241b0a7a494af02262ab5e1f7eb3aa4.zip
Update autojudging.php (#30)
Diffstat (limited to 'src/private')
-rwxr-xr-xsrc/private/autojudging.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/private/autojudging.php b/src/private/autojudging.php
index e44aaeb..83e2bdd 100755
--- a/src/private/autojudging.php
+++ b/src/private/autojudging.php
@@ -79,10 +79,10 @@ $key=md5(mt_rand() . rand() . mt_rand());
$cf = globalconf();
$ip = $cf["ip"];
-$activecontest=DBGetActiveContest();
$prevsleep=0;
//$dodebug=1;
while(42) {
+ $activecontest=DBGetActiveContest();
if(($run = DBGetRunToAutojudging($activecontest["contestnumber"], $ip)) === false) {
if($prevsleep==0)