remotes/1679382210812683527/tmp_refs/heads/master^2
Amalka Subasinghe 2 years ago
commit 78dd331306

@ -800,9 +800,6 @@ public class OperationManagerImpl implements OperationManager {
if ((currentTime - updatedTime) < notNowOperationFrequency) { if ((currentTime - updatedTime) < notNowOperationFrequency) {
dtoOperation = operationDAO.getNextOperation(enrolmentInfo.getId(), dtoOperation = operationDAO.getNextOperation(enrolmentInfo.getId(),
org.wso2.carbon.device.mgt.core.dto.operation.mgt.Operation.Status.PENDING); org.wso2.carbon.device.mgt.core.dto.operation.mgt.Operation.Status.PENDING);
} else {
log.warn("Updated timestamp (" + updatedTime + ") of operation (" +
new Gson().toJson(dtoOperation) + ") is ahead from current: " + currentTime);
} }
} else { } else {
dtoOperation = operationDAO.getNextOperation(enrolmentInfo.getId(), dtoOperation = operationDAO.getNextOperation(enrolmentInfo.getId(),

Loading…
Cancel
Save