diff --git a/src/main/java/swiss/fihlon/apus/ui/view/ConferenceView.java b/src/main/java/swiss/fihlon/apus/ui/view/ConferenceView.java index aab0f3b..ca9f960 100644 --- a/src/main/java/swiss/fihlon/apus/ui/view/ConferenceView.java +++ b/src/main/java/swiss/fihlon/apus/ui/view/ConferenceView.java @@ -64,7 +64,7 @@ public ConferenceView(@NotNull final ConferenceService conferenceService, add(createLegend()); add(roomContainer); final ScheduledFuture updateScheduler = taskScheduler.scheduleAtFixedRate( - this::updateScheduler, Instant.now().plusSeconds(10), UPDATE_FREQUENCY); + this::updateScheduler, Instant.now().plusSeconds(1), UPDATE_FREQUENCY); addDetachListener(event -> updateScheduler.cancel(true)); } diff --git a/src/main/java/swiss/fihlon/apus/ui/view/SocialView.java b/src/main/java/swiss/fihlon/apus/ui/view/SocialView.java index f9679c5..46fb8e2 100644 --- a/src/main/java/swiss/fihlon/apus/ui/view/SocialView.java +++ b/src/main/java/swiss/fihlon/apus/ui/view/SocialView.java @@ -50,7 +50,7 @@ public SocialView(@NotNull final SocialService socialService, add(messageContainer); messageContainer.addClassName("masonry"); final ScheduledFuture updateScheduler = taskScheduler.scheduleAtFixedRate( - this::updateScheduler, Instant.now().plusSeconds(10), UPDATE_FREQUENCY); + this::updateScheduler, Instant.now().plusSeconds(1), UPDATE_FREQUENCY); addDetachListener(event -> updateScheduler.cancel(true)); }