From 98d9dd26e241b0a7a494af02262ab5e1f7eb3aa4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rodrigo=20Laiola=20Guimar=C3=A3es?= Date: Mon, 17 Apr 2023 09:13:40 -0300 Subject: Update autojudging.php (#30) --- src/private/autojudging.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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) -- cgit v1.2.3