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

Offline gains aren't computed if one uses hibernation/suspend to RAM #252

Open
anydot opened this issue Jan 18, 2021 · 0 comments
Open

Offline gains aren't computed if one uses hibernation/suspend to RAM #252

anydot opened this issue Jan 18, 2021 · 0 comments

Comments

@anydot
Copy link

anydot commented Jan 18, 2021

Hi,

from what I observe it seems that the offline gains aren't computed if one hibernate/suspend to RAM their PC, like many notebook users are.

One way to fix this would be to periodically store the current time into some variable (doesn't have to be persisted) and if it differs from the previous one by at least few multiples of the period trigger the computation for offline gain (quick and dirty would be to force-reload the page, assuming this won't save the progress first)

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

1 participant