Adds argument to prevent Redux DevTool CLI disconnecting when debugging #1622
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Adds new CLI argument to change pingTimeout value. This solves few issues for me if I set crazy high number.
UXP in Photoshop has UWP implementation of WebSockets and its client when asked to send empty message it is never sent but everything else is. Thefore it gets disconnected. examples not working in @redux-devtools/remote #1614
I think for some older middleware using protocol V1 sending different ping content this could help as well It works few seconds but socket hangs up with code 4001 zalmoxisus/remote-redux-devtools#158
When you debug client app and you stop on breakpoint for 20s which default value of socket cluster... it will disconnect debugger as well because you stopped client app so it can't send a ping. So value can be increased to prevent that.
Also
maxRequestBody
was wrong.Please let me know if I should change something or feel free to change it yourself. I was thinking about seconds instead of
ms
but not sure what is better.