Skip to content

Commit 9f1b755

Browse files
committed
Fix correct orders of parameters in ES
1 parent a4f06f2 commit 9f1b755

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

cms/service/EvaluationService.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -356,14 +356,14 @@ def _missing_operations(self):
356356
counter = 0
357357
with SessionGen() as session:
358358

359-
for operation, timestamp, priority in \
359+
for operation, priority, timestamp in \
360360
get_submissions_operations(session, self.contest_id):
361-
if self.enqueue(operation, timestamp, priority):
361+
if self.enqueue(operation, priority, timestamp):
362362
counter += 1
363363

364-
for operation, timestamp, priority in \
364+
for operation, priority, timestamp in \
365365
get_user_tests_operations(session, self.contest_id):
366-
if self.enqueue(operation, timestamp, priority):
366+
if self.enqueue(operation, priority, timestamp):
367367
counter += 1
368368

369369
return counter

0 commit comments

Comments
 (0)