Skip to content

Commit

Permalink
flatMap -> concatMap
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Burman committed Mar 31, 2018
1 parent 41ef4ca commit 5897636
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -777,7 +777,7 @@ public Completable verifyAndCreateTempTables(ZonedDateTime startTime, ZonedDateT
public Completable compressBlock(long jobStartTimeSlice, int pageSize, int maxConcurrency) {
return Completable.fromObservable(
Observable.from(dataAccess.findExpiredTables(jobStartTimeSlice))
.flatMap(startTimeSlice ->
.concatMap(startTimeSlice ->
dataAccess.findAllDataFromBucket(startTimeSlice, pageSize, maxConcurrency)
.switchIfEmpty(Observable.empty())
.flatMap(rows -> rows
Expand Down

0 comments on commit 5897636

Please sign in to comment.