Hi I'm use DomJudge 5.3.2. I run my contest but maybe my server is slow or many submissions at the same time, so it take many queued. But when judging, it run random submission. Some submission submit wait a long time.
Can you tell me how to setting judging by submit time? Thanks.
On 12/10/2019 17:38, Nguyễn Văn Quân wrote:
Hi I'm use DomJudge 5.3.2. I run my contest but maybe my server is slow or many submissions at the same time, so it take many queued. But when judging, it run random submission. Some submission submit wait a long time.
The submission that gets picked up first for judging is actually not random, but determined by which team last submitted the longest ago. This is on purpose to prevent DoS attacks by a team submitting many submissions.
Can you tell me how to setting judging by submit time? Thanks.
In the 5.3 branch this is handled by this code: https://github.com/DOMjudge/domjudge/blob/5.3/www/api/index.php#L353-L365
In current master it is found here: https://github.com/DOMjudge/domjudge/blob/master/webapp/src/Controller/API/J...
Best, Jaap
-- _________________________ Name: Nguyen Van Quan Come from: Bac Ninh, Viet Nam Email: nguyenvanquan7826@gmail.com mailto:nguyenvanquan7826@gmail.com Blog: nguyenvanquan7826.com http://nguyenvanquan7826.com Phone: +84.96.567.7826
DOMjudge-devel mailing list DOMjudge-devel@domjudge.org https://www.domjudge.org/mailman/listinfo/domjudge-devel