mirror of
https://github.com/keycloak/keycloak.git
synced 2026-01-25 16:42:34 +00:00
Add merge tasks optimization to ConcurrentHashMapKeycloakTransaction.delete
This commit is contained in:
committed by
Hynek Mlnařík
parent
92c4e6d585
commit
2394855f48
@@ -249,7 +249,7 @@ public class ConcurrentHashMapKeycloakTransaction<K, V extends AbstractEntity &
|
||||
|
||||
@Override
|
||||
public boolean delete(String key) {
|
||||
addTask(key, new DeleteOperation(key));
|
||||
tasks.merge(key, new DeleteOperation(key), this::merge);
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user