From 8fc165aec9ae2fc0a6d218912fa19625603f249f Mon Sep 17 00:00:00 2001 From: Ashar Fuadi Date: Sun, 26 May 2024 06:17:50 +0700 Subject: [PATCH] contest: don't use transactional db in scheduled scoreboard updater (#628) --- .../uriel/contest/scoreboard/ContestScoreboardPoller.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/judgels-backends/judgels-server-app/src/main/java/judgels/uriel/contest/scoreboard/ContestScoreboardPoller.java b/judgels-backends/judgels-server-app/src/main/java/judgels/uriel/contest/scoreboard/ContestScoreboardPoller.java index 40ba0733a..975fc4290 100644 --- a/judgels-backends/judgels-server-app/src/main/java/judgels/uriel/contest/scoreboard/ContestScoreboardPoller.java +++ b/judgels-backends/judgels-server-app/src/main/java/judgels/uriel/contest/scoreboard/ContestScoreboardPoller.java @@ -30,7 +30,7 @@ public ContestScoreboardPoller( } @Override - @UnitOfWork(readOnly = true) + @UnitOfWork(readOnly = true, transactional = false) public void run() { try { for (Contest contest : contestStore.getRunningContests()) {