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

With socket.io: setting a timer for a long period of time warning #17859

Closed
aprilmintacpineda opened this issue Feb 5, 2018 · 5 comments
Closed
Labels
Ran Commands One of our bots successfully processed a command. Resolution: Locked This issue was locked by the bot.

Comments

@aprilmintacpineda
Copy link

screen shot 2018-02-05 at 6 04 11 pm

screen shot 2018-02-05 at 6 04 38 pm

screen shot 2018-02-05 at 6 04 50 pm

@aprilmintacpineda
Copy link
Author

aprilmintacpineda commented Feb 5, 2018

the "encountered X times" seem to increase as time passes by, as I am writing this comment it's on 18.

I also found a similar issue on socketio/socket.io#3054

@react-native-bot
Copy link
Collaborator

@facebook-github-bot no-template

@facebook-github-bot
Copy link
Contributor

Hey @aprilmintacpineda, thanks for posting this! It looks like your issue is missing some required information. Can you please add all the details specified in the Issue Template? This is necessary for people to be able to understand and reproduce your issue. I am going to close this, but please feel free to open a new issue with the additional information provided. Thanks!

How to ContributeWhat to Expect from Maintainers

@facebook-github-bot facebook-github-bot added the Ran Commands One of our bots successfully processed a command. label Feb 5, 2018
@adirzoari
Copy link

Did you find any solution for it?

@aprilmintacpineda
Copy link
Author

@adirzoari It's just a warning so you can ignore it as a lot of devs do. As for me, even a warning concerns me.

const io = socketIO(server, {
  pingTimeout: 30000,
  pingInterval: 30000
});

I think the default was 85000, which react-native doesn't like. So the only solution is to change it to a lower value.

@facebook facebook locked as resolved and limited conversation to collaborators Feb 5, 2019
@react-native-bot react-native-bot added the Resolution: Locked This issue was locked by the bot. label Feb 5, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Ran Commands One of our bots successfully processed a command. Resolution: Locked This issue was locked by the bot.
Projects
None yet
Development

No branches or pull requests

4 participants