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() {
|
public void updateActiveGroups() {
|
||||||
try {
|
try {
|
||||||
|
|
||||||
|
if (!webserviceInfo.isMaster()) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
if (screenProctoringGroupDAO.hasActiveGroups()) {
|
if (screenProctoringGroupDAO.hasActiveGroups()) {
|
||||||
screenProctoringAPIBinding
|
screenProctoringAPIBinding
|
||||||
.getActiveGroupSessionCounts()
|
.getActiveGroupSessionCounts()
|
||||||
|
|
Loading…
Reference in a new issue