-
Steps to reproduce:
Also, I am having a hard time understanding when the client is trying to retry and how many attempts left. Use cases:
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Lines 665 to 666 in 48e7bd9 If playing with network throttling does not yield the expected results, I reckon it's due to some browser thing. You can confirm this by using the WebSocket directly.
The retryAttempts client option controls the amount of retries and has the details answering your question. Furthermore, also read about the shouldRetry client option.
|
Beta Was this translation helpful? Give feedback.
on.error
andon.closed
are hooked up directly to the browsers WebSocket implementation, see here:graphql-ws/src/client.ts
Lines 665 to 666 in 48e7bd9
If playing with network throttling does not yield the expected results, I reckon it's due to some browser thing. You can confirm this by using the WebSocket directly.
The retryAttempts client option controls the amount of retries and has the details answering your question. Furthermore, also read abo…