looks like sometimes the websocket connection is not established on github actions, refresh the tree with an interval smaller than the timeout of playwright

This commit is contained in:
Athou
2024-06-15 08:42:03 +02:00
parent b988b599d5
commit 3997606774
2 changed files with 2 additions and 2 deletions

View File

@@ -16,7 +16,7 @@ public class ServerIT extends BaseIT {
Assertions.assertTrue(serverInfos.isDemoAccountEnabled());
Assertions.assertTrue(serverInfos.isWebsocketEnabled());
Assertions.assertEquals(900000, serverInfos.getWebsocketPingInterval());
Assertions.assertEquals(30000, serverInfos.getTreeReloadInterval());
Assertions.assertEquals(10000, serverInfos.getTreeReloadInterval());
}
}

View File

@@ -89,7 +89,7 @@ app:
websocketPingInterval: 15m
# if websocket is disabled or the connection is lost, the client will reload the feed tree at this interval
treeReloadInterval: 30s
treeReloadInterval: 10s
# Database connection
# -------------------