-
Notifications
You must be signed in to change notification settings - Fork 56
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
Restart after x 'Heartbeat missed, retrying' messages #4
Comments
Same here. |
same problem |
Yep! Get it too. |
Here is the current Heartbeat code:
Step 1 is to figure out why the heartbeat fails (raw_heartbeat). Is the PGO server ending sessions that aren't active (moving around)? If so, you could add a minor walking distance to the script so that the location moves around. If there isn't a way to find out what's causing the session to timeout or if the cause is not something that can be fixed, consider adding a quick attempts clause to heartbeat so that it restarts the necessary portions of the script (like login?), no need to have the whole damn thing restart! Something along these lines, I'm guessing:
|
I get an issue where after a while I just get a constant stream of 'Heartbeat missed, retrying' with no successful attempts in between. I just Ctrl+C and restart to resolve the issue, but it would be nice if the app could detect say 30 failed heartbeats in a row and then restart.
The text was updated successfully, but these errors were encountered: