Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
Artur- committed Dec 4, 2024
1 parent 777929d commit 68ae6b8
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,10 @@ public static void init(VaadinContext context, ViteHandler viteHandler) {
public void onOpen(Session session, EndpointConfig config) {
getLogger().debug("Browser ({}) connected to Vite proxy",
session.getId());
// Vite pings every 30s but while you debug in the browser, the pings will be prevented.
// When you resume after debugging, the page will reload if the timeout was hit, so it is 0 == disabled
// Vite pings every 30s but while you debug in the browser, the pings
// will be prevented.
// When you resume after debugging, the page will reload if the timeout
// was hit, so it is 0 == disabled
session.setMaxIdleTimeout(0);

ViteHandler viteHandler = (ViteHandler) config.getUserProperties()
Expand Down

0 comments on commit 68ae6b8

Please # to comment.