diff --git a/src/main/java/ch/ethz/seb/sebserver/webservice/servicelayer/session/impl/proctoring/ScreenProctoringServiceImpl.java b/src/main/java/ch/ethz/seb/sebserver/webservice/servicelayer/session/impl/proctoring/ScreenProctoringServiceImpl.java index 7aef6f5c..f7d3d549 100644 --- a/src/main/java/ch/ethz/seb/sebserver/webservice/servicelayer/session/impl/proctoring/ScreenProctoringServiceImpl.java +++ b/src/main/java/ch/ethz/seb/sebserver/webservice/servicelayer/session/impl/proctoring/ScreenProctoringServiceImpl.java @@ -247,6 +247,10 @@ public class ScreenProctoringServiceImpl implements ScreenProctoringService { public void updateActiveGroups() { try { + if (!webserviceInfo.isMaster()) { + return; + } + if (screenProctoringGroupDAO.hasActiveGroups()) { screenProctoringAPIBinding .getActiveGroupSessionCounts()