Replies: 1 comment
-
To drop stale connections, Wave uses a ping event. By default, it sends a ping event for every new SSE connection if the last event was earlier than 30 seconds. Check PingConnections middleware. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm using Wave for handling PaymentNotifications (OrderConfirmations). When an order is updated, I send an Event to my frontend (Vue.js), triggering some actions. However, in production, we observed an increase in server resource consumption after deploying this strategy. Is there a way to ensure that a connection is properly closed? Currently, I'm testing a setTimeout to close the connection on the frontend, but I'm unsure if this is effective.
Beta Was this translation helpful? Give feedback.
All reactions