Closed rdunk closed 1 week ago
The latest updates on your projects. Learn more about Vercel for Git βοΈ
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
live-visual-editing-next | β Ready (Inspect) | Visit Preview | π¬ Add feedback | Nov 14, 2024 5:45pm |
visual-editing-astro | β Ready (Inspect) | Visit Preview | π¬ Add feedback | Nov 14, 2024 5:45pm |
visual-editing-next | β Ready (Inspect) | Visit Preview | π¬ Add feedback | Nov 14, 2024 5:45pm |
visual-editing-next-with-i18n | β Ready (Inspect) | Visit Preview | π¬ Add feedback | Nov 14, 2024 5:45pm |
visual-editing-nuxt | β Ready (Inspect) | Visit Preview | π¬ Add feedback | Nov 14, 2024 5:45pm |
visual-editing-page-builder-demo | β Ready (Inspect) | Visit Preview | π¬ Add feedback | Nov 14, 2024 5:45pm |
visual-editing-remix | β Ready (Inspect) | Visit Preview | π¬ Add feedback | Nov 14, 2024 5:45pm |
visual-editing-storybook | β Ready (Inspect) | Visit Preview | π¬ Add feedback | Nov 14, 2024 5:45pm |
visual-editing-studio | β Ready (Inspect) | Visit Preview | π¬ Add feedback | Nov 14, 2024 5:45pm |
visual-editing-svelte | β Ready (Inspect) | Visit Preview | π¬ Add feedback | Nov 14, 2024 5:45pm |
Currently, comlink's node state machine will only handle syn handshake events when in an
idle
state. In some situations, the controller or some of the channels it maintains may detect a loss of connection and transition to ahandshaking
state, the disconnect event emitted at this point may then fail to reach the relevant node(s), and thus the node will remain in aconnected
state, as the nodes themselves only blindly respond to heartbeat events.This PR adds a change so that the node state machine will always transition to its internal
handshaking
state when receiving a syn handshake event, regardless of the state it is currently in. This should greatly improve the success rate of attempt reconnects. For example you may have noticed in our test environments that the connection is often lost after a HMR, this should no longer be the case.It also drops the default expected response timeout to 3s from 10s for requests for all requests that expect a response except for those initiated with
.fetch
(which remains at 10s).