Skip to content

Commit

Permalink
releaseb remove timeouts for the ladder calc
Browse files Browse the repository at this point in the history
  • Loading branch information
Sammers21 committed Jan 8, 2024
1 parent ff48ba8 commit 682d819
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions src/io/github/sammers/pla/logic/Ladder.java
Original file line number Diff line number Diff line change
Expand Up @@ -108,13 +108,13 @@ private Observable<Long> runDataUpdater(String region,
if (running.compareAndSet(false, true)) {
long tick = System.nanoTime();
log.info("Starting data updater for region=" + region);
return threeVThree(region).ignoreElement().timeout(11, MINUTES)
.andThen(twoVTwo(region).ignoreElement().timeout(9, MINUTES))
.andThen(battlegrounds(region).ignoreElement().timeout(8, MINUTES))
.andThen(shuffle(region).ignoreElement().timeout(20, MINUTES))
.andThen(calculateMulticlasserLeaderboard(region).timeout(7, MINUTES))
.andThen(loadCutoffs(region).timeout(1, MINUTES))
.andThen(calculateMeta(region).timeout(3, MINUTES))
return threeVThree(region).ignoreElement()
.andThen(twoVTwo(region).ignoreElement())
.andThen(battlegrounds(region).ignoreElement())
.andThen(shuffle(region).ignoreElement()
.andThen(calculateMulticlasserLeaderboard(region))
.andThen(loadCutoffs(region))
.andThen(calculateMeta(region))
.andThen(charUpdater.updateCharacters(region, 7, DAYS, timeout, timeoutUnits))
.onErrorComplete(e -> {
log.error("Error updating data for region " + region, e);
Expand Down

0 comments on commit 682d819

Please sign in to comment.