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

Timer doesn't look working precisely if mobu goes background #484

Closed
pankona opened this issue Jun 30, 2022 · 2 comments · Fixed by #486
Closed

Timer doesn't look working precisely if mobu goes background #484

pankona opened this issue Jun 30, 2022 · 2 comments · Fixed by #486
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@pankona
Copy link
Member

pankona commented Jun 30, 2022

Problem

mobu's timer doesn't work precisely if the browser tab that shows mobu is not active.
For example, even if the interval is 15min, sometimes the alert will be notified about 30 or 40 minutes later.

I think typically this occurs a user who is the mobu facilitator who is also the mobu driver.

@pankona pankona added bug Something isn't working help wanted Extra attention is needed labels Jun 30, 2022
@pankona
Copy link
Member Author

pankona commented Jun 30, 2022

This is reported from @mpls104, thanks!

@kachick
Copy link
Member

kachick commented Jun 30, 2022

Nice report!

I think we have 2 ways.

  • Worker: 🤔 It can keep many current implementation, however make complex and annoy js file management.
  • Calculate with actual duration instead of increment: I 👍 this way, because it can drop many state handling. However it might make hard to integrate pause future.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants