← Back to team overview

touch-packages team mailing list archive

[Bug 1453041] Re: SettingsDb should check file timestamps instead of using inotify watch

 

** Changed in: unity-scopes-api (Ubuntu)
   Importance: Undecided => Low

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to unity-scopes-api in
Ubuntu.
https://bugs.launchpad.net/bugs/1453041

Title:
  SettingsDb should check file timestamps instead of using inotify watch

Status in unity-scopes-api package in Ubuntu:
  New

Bug description:
  SettingsDb could be greatly simplified by using ctime/mtime of the
  settings file, rather than a watcher thread and inotify watch. The
  only place where we care if settings file has changes is settings()
  getter and this is where we can just check ctime/mtime to detect
  changes and re-parse.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unity-scopes-api/+bug/1453041/+subscriptions


References