SEBSERV-560 only master needs to update groups
This commit is contained in:
parent
1ef1052275
commit
93858944d8
1 changed files with 4 additions and 0 deletions
|
@ -247,6 +247,10 @@ public class ScreenProctoringServiceImpl implements ScreenProctoringService {
|
|||
public void updateActiveGroups() {
|
||||
try {
|
||||
|
||||
if (!webserviceInfo.isMaster()) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (screenProctoringGroupDAO.hasActiveGroups()) {
|
||||
screenProctoringAPIBinding
|
||||
.getActiveGroupSessionCounts()
|
||||
|
|
Loading…
Reference in a new issue