From ca27d57cf74a2d6c9992f557c9850006dc9a783e Mon Sep 17 00:00:00 2001 From: Sammers21 Date: Wed, 11 Sep 2024 21:49:33 +0300 Subject: [PATCH] releaseb releasef improve the img quality + different activity calculation --- frontend/src/index.css | 2 +- src/io/github/sammers/pla/logic/Ladder.java | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/frontend/src/index.css b/frontend/src/index.css index 70d0b67c..1a72a2ca 100644 --- a/frontend/src/index.css +++ b/frontend/src/index.css @@ -9,7 +9,7 @@ body { -moz-osx-font-smoothing: grayscale; /* For cross-browser compatibility */ - background-image: url(./assets/background/WoW_The_War_Within_Concept_IsleofDorn-compresed.jpg); + background-image: url(./assets/background/WoW_The_War_Within_Concept_IsleofDorn-min.jpg); background-position: center; background-repeat: no-repeat; background-attachment: fixed; diff --git a/src/io/github/sammers/pla/logic/Ladder.java b/src/io/github/sammers/pla/logic/Ladder.java index 93959220..30ac9d8f 100644 --- a/src/io/github/sammers/pla/logic/Ladder.java +++ b/src/io/github/sammers/pla/logic/Ladder.java @@ -72,7 +72,7 @@ public void start() { Observable updates; if (updatesEnabled) { updates = Observable.mergeArray(runDataUpdater(EU, 1, MINUTES, new AtomicBoolean(false), new AtomicLong(System.nanoTime()), Observable.defer(() -> { - int initialDelay = 0; + int initialDelay = Calculator.minutesTillNextMins(euPeriod); return Observable.interval(initialDelay, euPeriod, MINUTES); })), runDataUpdater(US, 1, MINUTES, new AtomicBoolean(false), new AtomicLong(System.nanoTime()), Observable.defer(() -> { int initialDelay = Calculator.minutesTillNextMins(usPeriod); @@ -598,8 +598,8 @@ public Completable calcDiffs(String bracket, String region) { // db.getMinsAgo(bracket, region, 60 * 24 * 4), // db.getMinsAgo(bracket, region, 60 * 24 * 2), // db.getMinsAgo(bracket, region, 60 * 24), -// db.getMinsAgo(bracket, region, 60 * 12), -// db.getMinsAgo(bracket, region, 60 * 8), + db.getMinsAgo(bracket, region, 60 * 12), + db.getMinsAgo(bracket, region, 60 * 8), db.getMinsAgo(bracket, region, 60 * 6), db.getMinsAgo(bracket, region, 60 * 3), db.getMinsAgo(bracket, region, 60 * 2),