Skip to content
Snippets Groups Projects
Commit b8403e32 authored by Daniel Gerhardt's avatar Daniel Gerhardt
Browse files

Merge branch '2.4' into 2.5

parents bc371a7f 081e4e59
Branches
Tags
No related merge requests found
# Changelog # 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 ## 2.5
Major features: Major features:
* Administration API: New endpoints have been added which are accessible by * Administration API: New endpoints have been added which are accessible by
......
...@@ -522,9 +522,9 @@ public class CouchDBDao implements IDatabaseDao, ApplicationEventPublisherAware ...@@ -522,9 +522,9 @@ public class CouchDBDao implements IDatabaseDao, ApplicationEventPublisherAware
} }
@Override @Override
@Transactional(isolation = Isolation.READ_COMMITTED)
public boolean sessionKeyAvailable(final String keyword) { public boolean sessionKeyAvailable(final String keyword) {
final View view = new View("session/by_keyword"); final View view = new View("session/by_keyword");
view.setKey(keyword);
final ViewResults results = getDatabase().view(view); final ViewResults results = getDatabase().view(view);
return !results.containsKey(keyword); return !results.containsKey(keyword);
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment