Skip to content

Commit

Permalink
updated reindexing code again
Browse files Browse the repository at this point in the history
  • Loading branch information
tylerperyea committed Oct 4, 2021
1 parent a8e8039 commit 47b8057
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,8 @@ public void execute(Object id, SchedulerPlugin.TaskListener l) throws IOExceptio

eventPublisher.publishEvent(new BeginReindexEvent(reindexId, count));

try(Stream<BackupEntity> stream = backupRepository.streamAll()){
// try(Stream<BackupEntity> stream = backupRepository.streamAll()){
try(Stream<BackupEntity> stream = backupRepository.findAll().stream()){

stream.forEach(be ->{
try {
Expand Down

0 comments on commit 47b8057

Please sign in to comment.