Skip to content

Commit

Permalink
Merge pull request #632 from entur/fix-cache-entity-removal-bug
Browse files Browse the repository at this point in the history
Fixes remove entities from cache after refactoring
  • Loading branch information
testower authored Jan 29, 2025
2 parents d1b4d70 + 34a20a8 commit d5d9178
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,8 @@ public void updateAll(Map<String, T> entities, int ttl, TimeUnit timeUnit) {

@Override
public void removeAll(Set<String> keys) {
cache.fastRemoveAsync(String.valueOf(keys));
String[] arr = keys.toArray(String[]::new);
cache.fastRemoveAsync(arr);
}

@Override
Expand Down

0 comments on commit d5d9178

Please sign in to comment.