Skip to content

Commit

Permalink
replacing parallelstream with sequential
Browse files Browse the repository at this point in the history
  • Loading branch information
ankitsmt211 committed Jan 18, 2024
1 parent 109abf8 commit 82703f2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ private ToIntFunction<String> suggestionScorer(String title) {
}

private void updateCache() {
autocompleteGHIssueCache = reference.getRepositories().parallelStream().map(repo -> {
autocompleteGHIssueCache = reference.getRepositories().stream().map(repo -> {
try {
return repo.getIssues(GHIssueState.ALL);
} catch (IOException ex) {
Expand Down

0 comments on commit 82703f2

Please sign in to comment.