Skip to content
Snippets Groups Projects

Timer to group calls to appDb store() method

Merged Jeff Gough requested to merge jeffmakes/firmware:appDb-store-timing into master

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...

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading