Manuel Muggli
Manuel Muggli

Reputation: 41

Problem with @Push when tab is not in focus or not visible / Vaadin 24 / Quarkus Jakarta EE

I have a Vaadin 24 setup and we are using the Broadcaster do push events from a rabbitmq queue to the ui. This workes almost* like it's supposed to work if the tab that receives the push is in focus. The message is received and ackd and the broadcaster delivers the message to the respective view within half a secon max. if the tab is not in focus, then this process taks about 4 seconds. is there a setting that could be made to speed up this process and treat the tab the same way as if it is visible?

Any hint would be appreciated. If more information is needed, just leave a comment

I already tried to disable all security with the NavigationAccessControl, but then the corresponding session can't be loaded anymore.

*"almost" means, the broadcaster triggers a navigate to a new view and it instanciates the view again instead of reusing the instance that is already there.

Upvotes: 0

Views: 62

Answers (0)

Related Questions