Skip to content

Commit

Permalink
optimize UserThreadPoolManager (#1390)
Browse files Browse the repository at this point in the history
Co-authored-by: 呈铭 <[email protected]>
  • Loading branch information
wangchengming666 and 呈铭 authored Feb 29, 2024
1 parent 357fdf0 commit df2dcae
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -81,9 +81,7 @@ public static UserThreadPool getUserThread(String service) {
public static Set<UserThreadPool> getUserThreadPoolSet() {
Set<UserThreadPool> userThreadPoolSet = new HashSet<>();
if (hasUserThread()) {
for (UserThreadPool userThreadPool : userThreadMap.values()) {
userThreadPoolSet.add(userThreadPool);
}
userThreadPoolSet.addAll(userThreadMap.values());
}
return userThreadPoolSet;
}
Expand Down

0 comments on commit df2dcae

Please sign in to comment.