Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • F firmware
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Graph
    • Compare revisions
  • Issues 74
    • Issues 74
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 29
    • Merge requests 29
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • External wiki
    • External wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • card10card10
  • firmware
  • Merge requests
  • !207

Timer to group calls to appDb store() method

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Jeff Gough requested to merge jeffmakes/firmware:appDb-store-timing into master Aug 22, 2019
  • Overview 2
  • Commits 2
  • Pipelines 1
  • Changes 1

Calls to store() are now non-blocking, and a timer is set to perform the write to persistent storage 5 seconds after the latest store() call. This makes persistent storage writes much less frequent.

This is the first attempt at a solution - a better approach is to put calls into a queue, the other end of which will be serviced by a worker task. Working on that next...

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: appDb-store-timing