Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
grishka committed Jun 7, 2024
1 parent 6021bae commit b1dd6c5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/smithereen/storage/GroupStorage.java
Original file line number Diff line number Diff line change
Expand Up @@ -391,8 +391,8 @@ public static Map<Integer, Group> getById(Collection<Integer> _ids) throws SQLEx
}
}
synchronized(GroupStorage.class){
for(int id:ids){
putIntoCache(result.get(id));
for(Group g:result.values()){
putIntoCache(g);
}
}
return result;
Expand Down

0 comments on commit b1dd6c5

Please sign in to comment.