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

Sync clock with database every 10 mins #166

Open
MichaelZhao21 opened this issue Oct 23, 2024 · 0 comments
Open

Sync clock with database every 10 mins #166

MichaelZhao21 opened this issue Oct 23, 2024 · 0 comments
Labels
A: Backend A task that concerns backend development new feature New feature or request

Comments

@MichaelZhao21
Copy link
Contributor

Describe the feature you'd like

image

Currently this setting only will sync whenever the user pauses/unpauses/resets the clock. We need to add a backend timer that will run every 10 mins and saves the clock to the database. I propose we use this: https://stackoverflow.com/questions/16466320/is-there-a-way-to-do-repetitive-tasks-at-intervals.

Another small change is that we should probably change the wording to include info about how the timer is backed up when pausing/unpausing, as well as the fact that it doesn't do that if the box is unchecked.

Pre-existing Issue or Justification

...this is caused by #165 but I have decided that this is lower priority and thus doesn't need to be implemented atm.

Additional context

No response

@MichaelZhao21 MichaelZhao21 added new feature New feature or request A: Backend A task that concerns backend development labels Oct 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A: Backend A task that concerns backend development new feature New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant