Skip to content
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

How to add a timeout value #31

Open
lonelydatum opened this issue Apr 1, 2019 · 2 comments
Open

How to add a timeout value #31

lonelydatum opened this issue Apr 1, 2019 · 2 comments

Comments

@lonelydatum
Copy link

My client is getting a Timeout error. I can't reproduce the error but I would like to try to add a timeout value of 2 seconds. Is this exposed as a property? If not how do I go into library to do it myself?

@revolunet
Copy link
Owner

Well that lib is using jsonp so you'll have to manage the timeout yourself in https://github.com/revolunet/react-mailchimp-subscribe/blob/master/src/index.js#L23

@lonelydatum
Copy link
Author

Thanks I'll try that

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants