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

Aux display freezes for second or two #23

Open
tomcourt opened this issue Aug 22, 2017 · 0 comments
Open

Aux display freezes for second or two #23

tomcourt opened this issue Aug 22, 2017 · 0 comments
Labels

Comments

@tomcourt
Copy link
Owner

Likely TCP timeout in pollForHttpRequest

Add timing histogram code to track. Test with tablet being turned on and off. Determine if freezing is in connect, reading the http request or writing the gauges.

If freezing in reading the http request, make a reentrant version that maintains state and bugs out if nothing to do.

If freezing in connect, this changes timeouts and retries to reduce the problem.
#include <utility/w5100.h>
W5100.setRetransmissionTime(2000); // 200mS
W5100.setRetransmissionCount(3); // or less

Writing timeouts will be trickier to fix.

@tomcourt tomcourt added the bug label Aug 22, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant