Skip to content

Sync clock with database every 10 mins #166

@MichaelZhao21

Description

@MichaelZhao21

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    A: BackendA task that concerns backend developmentB: ExtrasThings that would be nice to have but not importantnew featureNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions