Add merge tasks optimization to ConcurrentHashMapKeycloakTransaction.delete
This commit is contained in:
parent
92c4e6d585
commit
2394855f48
1 changed files with 1 additions and 1 deletions
|
@ -249,7 +249,7 @@ public class ConcurrentHashMapKeycloakTransaction<K, V extends AbstractEntity &
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean delete(String key) {
|
public boolean delete(String key) {
|
||||||
addTask(key, new DeleteOperation(key));
|
tasks.merge(key, new DeleteOperation(key), this::merge);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue