diff --git a/CHANGELOG.md b/CHANGELOG.md index 20871780230bf339e39c97b0dd9424ef79e6bfb7..d815489d8870227c461523c183e6dee2566fa39c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,18 @@ # Changelog +## 2.4.3 +This release fixes a performance issue on session creation affecting large +installations. + +Bug fixes: +* WebSocket communication now works correctly for course sessions. + (only affects installations using the LMS connector) +* The configuration parameter `security.facebook.allowed-roles` is now + respected. + +Additional changes: +* Libraries have been upgraded to fix potential bugs + ## 2.5 Major features: * Administration API: New endpoints have been added which are accessible by diff --git a/src/main/java/de/thm/arsnova/dao/CouchDBDao.java b/src/main/java/de/thm/arsnova/dao/CouchDBDao.java index febfee4d701ff89d532c7ef8bc5651976e0af247..97ba67f91da8d9d7651c861d26e69cdd1b47b247 100644 --- a/src/main/java/de/thm/arsnova/dao/CouchDBDao.java +++ b/src/main/java/de/thm/arsnova/dao/CouchDBDao.java @@ -522,9 +522,9 @@ public class CouchDBDao implements IDatabaseDao, ApplicationEventPublisherAware } @Override - @Transactional(isolation = Isolation.READ_COMMITTED) public boolean sessionKeyAvailable(final String keyword) { final View view = new View("session/by_keyword"); + view.setKey(keyword); final ViewResults results = getDatabase().view(view); return !results.containsKey(keyword);