touch-packages team mailing list archive
-
touch-packages team
-
Mailing list archive
-
Message #76759
[Bug 1453041] [NEW] SettingsDb should check file timestamps instead of using inotify watch
Public bug reported:
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.
** Affects: unity-scopes-api (Ubuntu)
Importance: High
Status: New
--
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
Follow ups
References