SEBSERV-560 only master needs to update groups

This commit is contained in:
anhefti 2024-07-18 07:23:42 +02:00
parent 1ef1052275
commit 93858944d8

View file

@ -247,6 +247,10 @@ public class ScreenProctoringServiceImpl implements ScreenProctoringService {
public void updateActiveGroups() {
try {
if (!webserviceInfo.isMaster()) {
return;
}
if (screenProctoringGroupDAO.hasActiveGroups()) {
screenProctoringAPIBinding
.getActiveGroupSessionCounts()