New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
maxHandshakeRequests is not configurable #195
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What Is the issue?
maxHandshakeRequests
is defined internally and can't be configured.Provide issue context below using code examples, images, or links
postmate/src/postmate.js
Line 12 in e4fd726
Having this be configurable, either by setting a static global variable (similar to
debug
) or passing a config option object into the Postmate constructor would enable us to accommodate IE11 being too slow to respond to the handshake in time. If this happens Postmate fails silently.There is a pending PR which also fixes this by rejecting the handshake promise if this occurs, but having the
maxHandshakeRequests
be configurable would also be a way to adjust this behavior.The text was updated successfully, but these errors were encountered: